Advanced Strategic Command
Public Member Functions | List of all members
GetAttackerImage Class Reference
Inheritance diagram for GetAttackerImage:
Inheritance graph
[legend]

Public Member Functions

 GetAttackerImage (tfight &battle, Surface &surface, const SDL_Rect &dest)
 
void visit (tunitattacksobject &battle)
 
void visit (tunitattacksbuilding &battle)
 
void visit (tunitattacksunit &battle)
 
void visit (tmineattacksunit &battle)
 
- Public Member Functions inherited from FightVisitor
virtual ~FightVisitor ()
 

Detailed Description

Definition at line 31 of file attackpanel.cpp.

Constructor & Destructor Documentation

GetAttackerImage::GetAttackerImage ( tfight battle,
Surface surface,
const SDL_Rect &  dest 
)
inline

Definition at line 42 of file attackpanel.cpp.

References tfight::visit().

Member Function Documentation

void GetAttackerImage::visit ( tunitattacksobject battle)
inlinevirtual

Implements FightVisitor.

Definition at line 47 of file attackpanel.cpp.

void GetAttackerImage::visit ( tunitattacksbuilding battle)
inlinevirtual

Implements FightVisitor.

Definition at line 48 of file attackpanel.cpp.

void GetAttackerImage::visit ( tunitattacksunit battle)
inlinevirtual

Implements FightVisitor.

Definition at line 49 of file attackpanel.cpp.

void GetAttackerImage::visit ( tmineattacksunit battle)
inlinevirtual

Implements FightVisitor.

Definition at line 51 of file attackpanel.cpp.

References tmineattacksunit::getFirstMine(), and Mine::paint().


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