Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ObjectItem Class Reference

#include <ed_mapcomponent.h>

Inheritance diagram for ObjectItem:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ObjectItem (const ObjectType *object)
virtual int place (const MapCoordinate &mc) const
virtual void display (Surface &s, const SPoint &pos) const
virtual MapComponentclone () const
virtual bool remove (const MapCoordinate &mc) const

Constructor & Destructor Documentation

ObjectItem::ObjectItem const ObjectType object  )  [inline]
 

Definition at line 128 of file ed_mapcomponent.h.

Referenced by clone().


Member Function Documentation

virtual MapComponent* ObjectItem::clone  )  const [inline, virtual]
 

Implements MapComponent.

Definition at line 131 of file ed_mapcomponent.h.

References BasicItem< ObjectType >::item, and ObjectItem().

virtual void ObjectItem::display Surface s,
const SPoint pos
const [inline, virtual]
 

Implements MapComponent.

Definition at line 130 of file ed_mapcomponent.h.

References ObjectType::display(), and BasicItem< ObjectType >::item.

int ObjectItem::place const MapCoordinate mc  )  const [virtual]
 

Implements MapComponent.

Definition at line 229 of file edselfnt.cpp.

References actmap, choice_dlg(), GameMap::getField(), and BasicItem< ObjectType >::item.

bool ObjectItem::remove const MapCoordinate mc  )  const [virtual]
 

Reimplemented from MapComponent.

Definition at line 239 of file edselfnt.cpp.

References actmap, GameMap::getField(), and BasicItem< ObjectType >::item.


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 02:18:40 2008 for Advanced Strategic Command by  doxygen 1.4.2