FirstStrategy Class Reference

#include <FirstStrategy.h>

List of all members.

Public Member Functions

 FirstStrategy (PlansysObservation *, int theTeamColor)
void Update (Subject *, int typeOfObservation)
int GetPriority ()
int AgentGlobalPriority ()
int GetAction (controll_struct *ai_controll_struct)
int SetAgentActive (int active)
int StrategyInterrupted ()
int GetInterruptAction (interrupt_controll_struct *interrupt_controll)
 FirstStrategy (PlansysObservation *, int theTeamColor)
void Update (Subject *, int typeOfObservation)
int GetPriority ()
int AgentGlobalPriority ()
int GetAction (controll_struct *ai_controll_struct)
int SetAgentActive (int active)
int StrategyInterrupted ()
int GetInterruptAction (interrupt_controll_struct *interrupt_controll)


Detailed Description

Eurobot 2007 FirstStrategy.h Gunnar Kjemphol <gunnar@kjemphol.no>

This is a child class of Observer class

This Agent is suposed to have a high priority when the game starts, it will do some preprogramed actions


Constructor & Destructor Documentation

FirstStrategy::FirstStrategy ( PlansysObservation ,
int  theTeamColor 
)

Give the Agent a priority in the constructor [0-9] if the agentPriority is -1 the agent is inactive in priority

Give the Agent a priority in the constructor [0-9] if the agentPriority is -1 the agent is inactive in priority

FirstStrategy::FirstStrategy ( PlansysObservation ,
int  theTeamColor 
)

Give the Agent a priority in the constructor [0-9] if the agentPriority is -1 the agent is inactive in priority


Member Function Documentation

int FirstStrategy::GetAction ( controll_struct ai_controll_struct  ) 

int FirstStrategy::GetPriority (  ) 

int FirstStrategy::StrategyInterrupted (  ) 

The strategy is interrupted by anoter strategy keep existing settings

void FirstStrategy::Update ( Subject *  ,
int  typeOfObservation 
)


The documentation for this class was generated from the following files:
Generated on Tue Jun 19 11:15:44 2007 for mainplansys.kdevelop by  doxygen 1.4.7