EventDeleteUnit Class Reference

This class will delete an Unit. More...

#include <EventDeleteUnit.h>

Inherits EventInterface.

Inheritance diagram for EventDeleteUnit:

Inheritance graph
[legend]
Collaboration diagram for EventDeleteUnit:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 EventDeleteUnit (Field *p_field)
 Standard constructor.
virtual ~EventDeleteUnit ()
 Standard desstructor.
virtual int compute (Level *p_level)
 Computes the logic for the event.

Public Attributes

Fieldfield
 Holds the field of the Unit to delete.

Detailed Description

This class will delete an Unit.

Definition at line 34 of file EventDeleteUnit.h.


Constructor & Destructor Documentation

EventDeleteUnit::EventDeleteUnit ( Field p_field  ) 

Standard constructor.

Parameters:
p_field Filed which unit will be delted.

Definition at line 27 of file EventDeleteUnit.cpp.

References field.

EventDeleteUnit::~EventDeleteUnit (  )  [virtual]

Standard desstructor.

Definition at line 32 of file EventDeleteUnit.cpp.


Member Function Documentation

int EventDeleteUnit::compute ( Level p_level  )  [virtual]

Computes the logic for the event.

Parameters:
p_level Pointer to the Level.

Implements EventInterface.

Definition at line 36 of file EventDeleteUnit.cpp.

References field, and Field::unit.


Member Data Documentation

Field* EventDeleteUnit::field

Holds the field of the Unit to delete.

Definition at line 59 of file EventDeleteUnit.h.

Referenced by compute(), and EventDeleteUnit().


The documentation for this class was generated from the following files:
Generated on Tue Jul 17 22:02:23 2007 for C0re by  doxygen 1.5.2