Actor module is part of the command interface for april library.
This function terminates an actor in current world (the actor may not be removed immediatelly but will be dead). The energy of the actor and of alll of its components will be added to the free energy of the current world.
a.kill <index> | kills an actor in current world |
a.kill help | prints usage instructions |
index | the index of the actor in the world |
The list of registered types of actors. This function lists all types but a.new is only capable of creating actors of kinds created with dna.new
a.kinds | list kinds of actors |
a.kinds help | prints usage instructions |
This function lists actors in current world and some of their basic properties (id, name of the id, date of birth and death, current age and ammount of energy inside).
a.list | lists actors in current world |
a.list help | prints usage instructions |
This function creates a new actor in current world. The kind must be one that has an associated DNA. The energy for the actor is taken from the free energy of the world.
a.new <kind> | create new actor instance |
a.new help | prints usage instructions |
kind | the kind of the actor to produce; to create a kind use dna.new |
DNA | april-cmd library | Sensors |