CTeam

From Project X Wiki
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