ScummVM
LastExpress::Beetle Class Reference

#include <beetle.h>

+ Collaboration diagram for LastExpress::Beetle:

Classes

struct  BeetleData
 

Public Member Functions

 Beetle (LastExpressEngine *engine)
 
 ~Beetle ()
 
void update ()
 
void load ()
 
void unload ()
 
bool isLoaded () const
 
bool catchBeetle ()
 
bool isCatchable () const
 

Private Member Functions

void move ()
 
void updateFrame (SequenceFrame *frame) const
 
void updateData (uint32 index)
 
void drawUpdate ()
 
void invertDirection ()
 

Private Attributes

LastExpressEngine_engine
 
BeetleData_data
 

Detailed Description

Definition at line 37 of file beetle.h.

Constructor & Destructor Documentation

◆ Beetle()

LastExpress::Beetle::Beetle ( LastExpressEngine engine)

Definition at line 35 of file beetle.cpp.

◆ ~Beetle()

LastExpress::Beetle::~Beetle ( )

Definition at line 37 of file beetle.cpp.

Member Function Documentation

◆ catchBeetle()

bool LastExpress::Beetle::catchBeetle ( )

Definition at line 131 of file beetle.cpp.

◆ drawUpdate()

void LastExpress::Beetle::drawUpdate ( )
private

Definition at line 194 of file beetle.cpp.

◆ invertDirection()

void LastExpress::Beetle::invertDirection ( )
private

Definition at line 353 of file beetle.cpp.

◆ isCatchable()

bool LastExpress::Beetle::isCatchable ( ) const

Definition at line 148 of file beetle.cpp.

◆ isLoaded()

bool LastExpress::Beetle::isLoaded ( ) const

Definition at line 124 of file beetle.cpp.

◆ load()

void LastExpress::Beetle::load ( )

Definition at line 44 of file beetle.cpp.

◆ move()

void LastExpress::Beetle::move ( )
private

Definition at line 371 of file beetle.cpp.

◆ unload()

void LastExpress::Beetle::unload ( )

Definition at line 115 of file beetle.cpp.

◆ update()

void LastExpress::Beetle::update ( )

Definition at line 155 of file beetle.cpp.

◆ updateData()

void LastExpress::Beetle::updateData ( uint32  index)
private

Definition at line 464 of file beetle.cpp.

◆ updateFrame()

void LastExpress::Beetle::updateFrame ( SequenceFrame frame) const
private

Definition at line 449 of file beetle.cpp.

Member Data Documentation

◆ _data

BeetleData* LastExpress::Beetle::_data
private

Definition at line 108 of file beetle.h.

◆ _engine

LastExpressEngine* LastExpress::Beetle::_engine
private

Definition at line 106 of file beetle.h.


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