Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
SimObserver Class Reference

#include <SimObject.h>

Inheritance diagram for SimObserver:
CameraDirector Contact Element Explosion Farcaster FlightDeck GroundAI Hangar HUDView InboundSlot Instruction MapView NetGameClient NetGameServer NetPlayer QuantumView RadioView Sensor Ship Shot SteerAI TacticalView Weapon WepView

List of all members.

Public Member Functions

virtual ~SimObserver ()
int operator== (const SimObserver &o) const
virtual bool Update (SimObject *obj)
virtual const char * GetObserverName () const
virtual void Observe (SimObject *obj)
virtual void Ignore (SimObject *obj)

Static Public Member Functions

static const char * TYPENAME ()

Protected Attributes

List< SimObjectobserve_list

Detailed Description

Definition at line 78 of file SimObject.h.


Constructor & Destructor Documentation

SimObserver::~SimObserver ( )
virtual

Definition at line 24 of file SimObject.cpp.


Member Function Documentation

const char * SimObserver::GetObserverName ( ) const
virtual
void SimObserver::Ignore ( SimObject obj)
virtual

Definition at line 43 of file SimObject.cpp.

void SimObserver::Observe ( SimObject obj)
virtual

Definition at line 32 of file SimObject.cpp.

int SimObserver::operator== ( const SimObserver o) const
inline

Definition at line 85 of file SimObject.h.

static const char* SimObserver::TYPENAME ( )
inlinestatic

Reimplemented in FlightDeck, Ship, NetPlayer, InboundSlot, Shot, Weapon, Drone, CameraDirector, Explosion, Contact, and Instruction.

Definition at line 81 of file SimObject.h.


Member Data Documentation

List<SimObject> SimObserver::observe_list
protected

Definition at line 95 of file SimObject.h.


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