Package fife :: Module fife :: Class Point
[hide private]
[frames] | no frames]

Class Point

source code

_object --+
          |
         Point

Proxy of C++ FIFE::PointType2D<(int)> class

Instance Methods [hide private]
 
__repr__(self) source code
 
__init__(self, *args)
__init__(self, int _x = 0, int _y = 0) -> Point __init__(self, int _x = 0) -> Point __init__(self) -> Point __init__(self, Point rhs) -> Point
source code
 
__add__(self, *args)
__add__(self, Point p) -> Point
source code
 
__sub__(self, *args)
__sub__(self, Point p) -> Point
source code
 
__iadd__(self, *args)
__iadd__(self, Point p) -> Point
source code
 
__isub__(self, *args)
__isub__(self, Point p) -> Point
source code
 
__mul__(self, *args)
__mul__(self, int i) -> Point
source code
 
__div__(self, *args)
__div__(self, int i) -> Point
source code
 
__eq__(self, *args)
__eq__(self, Point p) -> bool
source code
 
__ne__(self, *args)
__ne__(self, Point p) -> bool
source code
int
length(self) source code
 
normalize(self) source code
 
rotate(self, *args)
rotate(self, int angle) rotate(self, Point origin, int angle)
source code
int
getX(self) source code
int
getY(self) source code
 
setX(self, *args)
setX(self, int _x)
source code
 
setY(self, *args)
setY(self, int _y)
source code
string
__str__(self) source code
Class Variables [hide private]
  __swig_setmethods__ = {}
  __setattr__ = lambda self, name, value:
  __swig_getmethods__ = {}
  __getattr__ = lambda self, name:
  __swig_destroy__ = _fife.delete_Point
  __del__ = lambda self: