C# (CSharp) Indiefreaks.Xna.Logic Namespace

Nested Namespaces

Indiefreaks.Xna.Logic.GoalDriven
Indiefreaks.Xna.Logic.Steering

Classes

Name Description
Behavior The Behavior class is responsible of maintaining a list of Conditions and Commands. Conditions are tested every frame and if their aggregated result returns true, the Behavior Commands are executed sequentially.
Command The Command class encapsulates methods that will be executed by the current session when necessary A Command instance contains a clientExecution delegate that is executed on the player machine when set to Local and LocalAndServer. The serverExecution gets called on the session host when set to Server. Finally, the ApplyServerResult is called back on all players when the ServerExecution delegate returns. Each Command is identified by its Id that is automatically generated by the Session so that Remote Command calls are always consistent.
NonPlayerAgent
PlayerAgent