AnimWeaponOverlay Struct Reference

#include <WeaponOverlay.h>

List of all members.

Public Member Functions

const WeaponOverlayFramegetFrame (unsigned int type, unsigned int direction, unsigned int frame) const

Public Attributes

std::vector< WeaponOverlayoverlay


Detailed Description

Definition at line 38 of file WeaponOverlay.h.


Member Function Documentation

const WeaponOverlayFrame* AnimWeaponOverlay::getFrame ( unsigned int  type,
unsigned int  direction,
unsigned int  frame 
) const [inline]

get the weapon overlay info for a specific animation frame

Parameters:
type the overlay type
direction the direction
frame the animation frame
Returns:
0 if invalid, or pointer to a frame; don't delete it.

Definition at line 44 of file WeaponOverlay.h.

References overlay.


Member Data Documentation

std::vector<WeaponOverlay> AnimWeaponOverlay::overlay

Definition at line 53 of file WeaponOverlay.h.

Referenced by getFrame(), and WpnOvlayDat::load().


The documentation for this struct was generated from the following file:
Generated on Fri Jul 27 22:28:39 2007 for pentagram by  doxygen 1.4.7