Public Member Functions | Public Attributes | Static Public Attributes

unlock.view.pyglet_sprite.SpritePositionComputer Class Reference

List of all members.

Public Member Functions

def __init__
def compute
def north
def northeast
def east
def southeast
def south
def southwest
def west
def northwest
def center

Public Attributes

 width
 height
 x0
 y0
 angle
 box_width
 box_height
 x
 y

Static Public Attributes

int North = 0
int NorthEast = 1
int East = 2
int SouthEast = 3
int South = 4
int SouthWest = 5
int West = 6
int NorthWest = 7
int Center = 8

Member Function Documentation

def unlock.view.pyglet_sprite.SpritePositionComputer.__init__ (   self,
  canvas,
  image_width,
  image_height,
  rotation 
)
def unlock.view.pyglet_sprite.SpritePositionComputer.center (   self  ) 
def unlock.view.pyglet_sprite.SpritePositionComputer.compute (   self,
  position 
)
def unlock.view.pyglet_sprite.SpritePositionComputer.east (   self  ) 
def unlock.view.pyglet_sprite.SpritePositionComputer.north (   self  ) 
def unlock.view.pyglet_sprite.SpritePositionComputer.northeast (   self  ) 
def unlock.view.pyglet_sprite.SpritePositionComputer.northwest (   self  ) 
def unlock.view.pyglet_sprite.SpritePositionComputer.south (   self  ) 
def unlock.view.pyglet_sprite.SpritePositionComputer.southeast (   self  ) 
def unlock.view.pyglet_sprite.SpritePositionComputer.southwest (   self  ) 
def unlock.view.pyglet_sprite.SpritePositionComputer.west (   self  ) 

Member Data Documentation


The documentation for this class was generated from the following file: