Package horizons :: Package world :: Module ground :: Class SurfaceTile
[hide private]
[frames] | no frames]

Class SurfaceTile

source code

Instance Methods [hide private]
 
__init__(self, session, x, y) source code
 
__str__(self) source code
 
act(self, rotation) source code
 
rotation(self) source code
Class Variables [hide private]
  is_water = False
  layer = 1
Method Details [hide private]

__init__(self, session, x, y)
(Constructor)

source code 
Parameters:
  • session - Session instance
  • x - int x position the ground is created.
  • y - int y position the ground is created.

rotation(self)

source code 
Decorators:
  • @property