Advanced Strategic Command
Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
AgeableItem Class Reference

#include <objects.h>

Inheritance diagram for AgeableItem:
Inheritance graph
[legend]

Static Public Member Functions

static bool age (AgeableItem &obj)
 ages the object by one turn. Returns true if the object shall be removed More...
 

Public Attributes

int lifetimer
 

Protected Member Functions

 AgeableItem ()
 

Detailed Description

Definition at line 35 of file objects.h.

Constructor & Destructor Documentation

AgeableItem::AgeableItem ( )
inlineprotected

Definition at line 37 of file objects.h.

Member Function Documentation

bool AgeableItem::age ( AgeableItem obj)
static

ages the object by one turn. Returns true if the object shall be removed

Definition at line 71 of file objects.cpp.

References lifetimer.

Referenced by MapField::endRound().

Member Data Documentation

int AgeableItem::lifetimer

The documentation for this class was generated from the following files: