gma.platform¶
Provides a base platform object
Package
gma/entities/platform
Inheritance chain
Descendants
Tags¶
shape, platform
Properties¶
Methods¶
Inherited from gma.shapes.rectangle
setPointsAndEdges
, setCentre
, setBottomLeft
, xOf
, yOf
, toString
, collided__deathtouch
- collided (where, focus, focusSide, focusVector)
Does super.collided checks and also looks for the deathtouch tag
Overrides
gma.shapes.rectangle.collided
Parameters
where
Side of this object that was collided with
focus
object
Thing we collided with
focusSide
Side of the focus object that was collided with
focusVector
[x,y]
Amount focus is trying to move