Artificial Intelligence in Video Games: Towards a Unified Framework
Algorithm 8
Modifications in the conceptual copy of a Raven class. No game behavior is defined in CDS, which hosts nothing more than a projection of the game state.
classRaven_Weapon
{
//this discharges a projectile from the weapon at the given target position (provided
the weapon is ready to be discharged… every weapon has its own rate of fire)