Method | Description | |
---|---|---|
DeserializeAnimal ( |
This gets called when you are instantiated again after being saved. You get a chance to pull out any information that you put into the stream when you were saved
|
|
SerializeAnimal ( |
This gets called whenever your animal is being saved -- either the game is closing or you are being teleported. Store anything you want to remember when you are instantiated again in the stream.
|
Method | Description | |
---|---|---|
Initialize ( ) : void |
Set up any event handlers that we want when first initialized
|
Method | Description | |
---|---|---|
IdleEvent ( object sender, IdleEventArgs e ) : void | ||
LoadEvent ( object sender, LoadEventArgs e ) : void |
First event fired on an organism each turn
|
|
ScanForTargetPlant ( ) : bool |
public DeserializeAnimal ( |
||
m | ||
return | void |
public SerializeAnimal ( |
||
m | ||
return | void |