ScummVM API documentation
Saga2::LocationTarget Class Reference
Inheritance diagram for Saga2::LocationTarget:
Saga2::Target

Public Member Functions

 LocationTarget (const TilePoint &tp)
 
 LocationTarget (Common::SeekableReadStream *stream)
 
int32 archiveSize () const
 
void write (Common::MemoryWriteStreamDynamic *out) const
 
int16 getType () const
 
size_t size () const
 
void clone (void *mem) const
 
bool operator== (const Target &t) const
 
bool operator== (const LocationTarget &lt) const
 
bool operator!= (const LocationTarget &lt) const
 
TilePoint where (GameWorld *world, const TilePoint &tp) const
 
int16 where (GameWorld *world, const TilePoint &tp, TargetLocationArray &tla) const
 
- Public Member Functions inherited from Saga2::Target
virtual int32 archiveSize () const =0
 
virtual void write (Common::MemoryWriteStreamDynamic *out) const =0
 
virtual int16 getType () const =0
 
virtual size_t size () const =0
 
virtual void clone (void *mem) const =0
 
virtual bool operator== (const Target &t) const =0
 
bool operator!= (const Target &t) const
 
void * operator new (size_t, void *p)
 
virtual bool isObjectTarget () const
 
virtual bool isActorTarget () const
 
virtual TilePoint where (GameWorld *world, const TilePoint &tp) const =0
 
virtual int16 where (GameWorld *world, const TilePoint &tp, TargetLocationArray &tla) const =0
 

Member Function Documentation

◆ archiveSize()

int32 Saga2::LocationTarget::archiveSize ( ) const
virtual

Implements Saga2::Target.

◆ write()

void Saga2::LocationTarget::write ( Common::MemoryWriteStreamDynamic *  out) const
virtual

Implements Saga2::Target.

◆ getType()

int16 Saga2::LocationTarget::getType ( ) const
virtual

Implements Saga2::Target.

◆ size()

size_t Saga2::LocationTarget::size ( ) const
virtual

Implements Saga2::Target.

◆ clone()

void Saga2::LocationTarget::clone ( void *  mem) const
virtual

Implements Saga2::Target.

◆ operator==()

bool Saga2::LocationTarget::operator== ( const Target &  t) const
virtual

Implements Saga2::Target.

◆ where() [1/2]

TilePoint Saga2::LocationTarget::where ( GameWorld *  world,
const TilePoint &  tp 
) const
virtual

Implements Saga2::Target.

◆ where() [2/2]

int16 Saga2::LocationTarget::where ( GameWorld *  world,
const TilePoint &  tp,
TargetLocationArray &  tla 
) const
virtual

Implements Saga2::Target.


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