ScummVM API documentation
Ultima::Ultima8::AnimWeaponOverlay Struct Reference

Public Member Functions

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

Public Attributes

Std::vector< WeaponOverlay_overlay
 

Member Function Documentation

◆ getFrame()

const WeaponOverlayFrame* Ultima::Ultima8::AnimWeaponOverlay::getFrame ( unsigned int  type,
Direction  direction,
unsigned int  frame 
) const
inline

get the weapon overlay info for a specific animation frame

Parameters
typethe overlay type
directionthe direction
framethe animation frame
Returns
nullptr if invalid, or pointer to a frame; don't delete it.

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