From Project X Wiki
Revision as of 11:59, 8 February 2010 by Entuser (talk | contribs) (Created page with '{{Class|name=COilDrum|description=Describes a oil drum|constructor=COilDrum::COilDrum(CObject Parent, X, Y, Snap);|image=barimage.png|parent=CGObject}} Describes a oil dr…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Worms Armageddon class
Class name: COilDrum
Description: Describes a oil drum
Constructor: COilDrum::COilDrum(CObject Parent, X, Y, Snap);
Derived From: CGObject

Describes a oil drum.


class COilDrum : CGObject
   int       Dmg;  
   int       MaxDmg;    
   int       OwnerTeam;

Dmg - damage taken by drum. OwnerTeam - team who placed this drum or zero.

Methods =

   void Explosion();
   void Render();