.. api:: gma.patrolEnemy .. api:: patrolEnemy gma.patrolEnemy =============== Provides an enemy that patrols a particular range =================== ======================================================================== Package gma/entities/enemy Inheritance chain :api:`gma.shapes.rectangle` >> :api:`gma.moveable` >> :api:`gma.enemy` =================== ======================================================================== Tags ---- *shape*, *moveable*, *enemy*, *rebound*, *deathtouch*, *weakhead*, *patrolling* Properties ---------- .. admonition:: Inherited from :api:`gma.moveable` :prop:`yState `, :prop:`xState `, :prop:`lastXState `, :prop:`velocity `, :prop:`jumpVelocity ` .. admonition:: Inherited from :api:`gma.shapes.rectangle` :prop:`points `, :prop:`edges `, :prop:`width `, :prop:`height `, :prop:`depth `, :prop:`z `, :prop:`x `, :prop:`y `, :prop:`centre `, :prop:`left `, :prop:`right `, :prop:`top `, :prop:`bottom `, :prop:`yOffset `, :prop:`xOffset `, :prop:`type `, :prop:`alive `, :prop:`solid `, :prop:`tags ` Methods ------- .. admonition:: Inherited from :api:`gma.enemy` :metho:`getMovement `, :metho:`determineState `, :metho:`collided `, :metho:`behaviour__jumping `, :metho:`behaviour__platformer `, :metho:`behaviour__patrolling `, :metho:`collided__rebound `, :metho:`collided__weakhead ` .. admonition:: Inherited from :api:`gma.moveable` :metho:`animate `, :metho:`findGround `, :metho:`updatePositions `, :metho:`getRotation `, :metho:`kill ` .. admonition:: Inherited from :api:`gma.shapes.rectangle` :metho:`setPointsAndEdges `, :metho:`setCentre `, :metho:`setBottomLeft `, :metho:`xOf `, :metho:`yOf `, :metho:`toString `, :metho:`collided__deathtouch `