CTeam

From Project X Wiki
Revision as of 07:35, 14 March 2010 by Entuser (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Worms Armageddon class

Class name: CTeam
Description: Contains information about team
Constructor: Not Available
Derived From: CObject


Contains information about team. Has worms as childs.

class CTeam
{
  bool      Active;
  int       CurWorm;
  bool      AllowSelectDelay;
  bool      AllowSelectDelayB;
  int GetNextWorm();
  void SetCurrentWorm(int Index);
}

Active - is team active or not. CurWorm - index of worm that moves AllowSelectDelay/AllowSelectDelayB - pass M_SETDELAY messages or not