VizBlocks
|
#include <Behaviours.hpp>
Public Member Functions | |
TestBehaviour (String n) | |
String | start (String args) |
![]() | |
Behaviour (String name) | |
~Behaviour () | |
virtual boolean | is_interruptable () |
virtual boolean | is_temp () |
virtual boolean | is_priority () |
virtual boolean | is_running () |
virtual boolean | is_background () |
virtual String | name () |
virtual char * | args () |
virtual void | update () |
virtual void | stop () |
Additional Inherited Members | |
![]() | |
boolean | _interruptable = true |
boolean | _temp = false |
boolean | _priority = false |
boolean | _running = false |
boolean | _background = false |
String | _name = "name" |
Example way to make a simple behaviour
TestBehaviour::TestBehaviour | ( | String | n | ) |
|
virtual |
Start the behaviour, with arguments (don't know why this can't be virtual?)
Reimplemented from Behaviour.