|
int | _field4 |
|
int | _field8 |
|
int | _fieldC |
|
int | _field10 |
|
int | _field14 |
|
Rect | _bounds |
|
PetElementMode | _mode |
|
◆ setup()
virtual void Titanic::CPetElement::setup |
( |
PetElementMode |
mode, |
|
|
const CString & |
name, |
|
|
CPetControl * |
petControl |
|
) |
| |
|
inlinevirtual |
◆ reset()
virtual void Titanic::CPetElement::reset |
( |
const CString & |
name, |
|
|
CPetControl * |
petControl, |
|
|
PetElementMode |
mode |
|
) |
| |
|
inlinevirtual |
◆ draw() [1/2]
virtual void Titanic::CPetElement::draw |
( |
CScreenManager * |
screenManager | ) |
|
|
inlinevirtual |
◆ draw() [2/2]
virtual void Titanic::CPetElement::draw |
( |
CScreenManager * |
screenManager, |
|
|
const Point & |
destPos |
|
) |
| |
|
inlinevirtual |
◆ getBounds()
virtual Rect Titanic::CPetElement::getBounds |
( |
| ) |
const |
|
virtual |
◆ MouseButtonDownMsg()
virtual bool Titanic::CPetElement::MouseButtonDownMsg |
( |
const Point & |
pt | ) |
|
|
virtual |
Handles processing mouse button down messages
◆ MouseButtonUpMsg()
virtual bool Titanic::CPetElement::MouseButtonUpMsg |
( |
const Point & |
pt | ) |
|
|
virtual |
Handles processing mouse button up messages
◆ MouseDoubleClickMsg()
virtual bool Titanic::CPetElement::MouseDoubleClickMsg |
( |
const Point & |
pt | ) |
const |
|
virtual |
Handles processing mouse button double click messages
◆ MouseMoveMsg()
virtual bool Titanic::CPetElement::MouseMoveMsg |
( |
const Point & |
pt | ) |
|
|
virtual |
Handles processing mouse move messages
◆ contains2()
virtual bool Titanic::CPetElement::contains2 |
( |
const Point & |
pt | ) |
const |
|
virtual |
Returns whether the passed point falls inside the item
◆ playMovie()
virtual void Titanic::CPetElement::playMovie |
( |
uint |
startFrame, |
|
|
uint |
endFrame |
|
) |
| const |
|
virtual |
Plays back a range of frames in the loaded video file for the element
◆ changeStatus()
virtual void Titanic::CPetElement::changeStatus |
( |
int |
newStatus | ) |
const |
|
virtual |
Change the status of the associated object
◆ hasActiveMovie()
virtual bool Titanic::CPetElement::hasActiveMovie |
( |
| ) |
const |
|
virtual |
Returns true if the object associated with the item has an active movie
◆ loadFrame()
virtual void Titanic::CPetElement::loadFrame |
( |
int |
frameNumber | ) |
|
|
virtual |
◆ getMovieFrame()
virtual int Titanic::CPetElement::getMovieFrame |
( |
| ) |
const |
|
virtual |
◆ getObject()
virtual CGameObject* Titanic::CPetElement::getObject |
( |
| ) |
const |
|
inlinevirtual |
◆ setSelected()
void Titanic::CPetElement::setSelected |
( |
bool |
flag | ) |
|
Set whether the element is selected
◆ setBounds()
void Titanic::CPetElement::setBounds |
( |
const Rect & |
r | ) |
|
|
inline |
Set the bounds for the element
◆ translate() [1/2]
void Titanic::CPetElement::translate |
( |
int |
deltaX, |
|
|
int |
deltaY |
|
) |
| |
|
inline |
Translate the position of the element
◆ translate() [2/2]
void Titanic::CPetElement::translate |
( |
const Point & |
delta | ) |
|
|
inline |
Translate the position of the element
The documentation for this class was generated from the following files: