mousefollower Package

mousefollower Package

This files are part of the ‘symplehfsm’ package.

mousefollower Module

Example usage of the symplehfsm statemachine for a game entity using pygame. See inline comments!

class examples.mousefollower.mousefollower.Actions[source]

Bases: object

following_entry()[source]
following_update()[source]
idle_entry()[source]
class examples.mousefollower.mousefollower.Entity(x, y)[source]

Bases: examples.mousefollower.mousefollower.Actions

draw(surf)[source]
proximity_sensor()[source]
update(dt)[source]
class examples.mousefollower.mousefollower.EntityActions(entity)[source]

Bases: object

following_entry()[source]
following_update()[source]
idle_entry()[source]
class examples.mousefollower.mousefollower.Events[source]

Bases: object

in_range = 1
out_of_range = 2
update = 3
examples.mousefollower.mousefollower.main()[source]

mousefollower2 Module

Example usage of the symplehfsm statemachine for a game entity using pygame.

class examples.mousefollower.mousefollower2.Actions[source]

Bases: object

following_update()[source]
class examples.mousefollower.mousefollower2.Entity[source]

Bases: examples.mousefollower.mousefollower2.Actions

draw(surf)[source]
proximity_sensor()[source]
update(dt)[source]
class examples.mousefollower.mousefollower2.EntityActions(entity)[source]

Bases: object

following_update()[source]
class examples.mousefollower.mousefollower2.Events[source]

Bases: object

in_range = 1
out_of_range = 2
update = 3
examples.mousefollower.mousefollower2.main()[source]

Table Of Contents

Previous topic

TestHFSM Package

Next topic

testablestatemachines Package

This Page