unit_animation::particule Class Reference

Inheritance diagram for unit_animation::particule:

Inheritance graph
[legend]
Collaboration diagram for unit_animation::particule:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 particule (int start_time=0)
 particule (const config &cfg, const std::string frame_string="frame")
virtual ~particule ()
bool need_update () const
void override (int start_time, const std::string highlight="", const std::string blend_ratio="", Uint32 blend_color=0, const std::string offset="")
void redraw (const frame_parameters &value)
void invalidate (const frame_parameters &value, const bool primary=false) const
void start_animation (int start_time, const gamemap::location &src, const gamemap::location &dst, bool cycles=false)
const frame_parameters parameters (const frame_parameters &default_val, bool primary) const

Public Attributes

bool accelerate

Private Attributes

frame_builder parameters_
gamemap::location src_
gamemap::location dst_
int halo_id_
int last_frame_begin_time_


Detailed Description

Definition at line 69 of file unit_animation.hpp.


Constructor & Destructor Documentation

unit_animation::particule::particule ( int  start_time = 0  )  [inline, explicit]

Definition at line 72 of file unit_animation.hpp.

unit_animation::particule::particule ( const config cfg,
const std::string  frame_string = "frame" 
) [explicit]

unit_animation::particule::~particule (  )  [virtual]

Definition at line 769 of file unit_animation.cpp.

References halo_id_, halo::NO_HALO, and halo::remove().


Member Function Documentation

bool unit_animation::particule::need_update (  )  const

void unit_animation::particule::override ( int  start_time,
const std::string  highlight = "",
const std::string  blend_ratio = "",
Uint32  blend_color = 0,
const std::string  offset = "" 
)

void unit_animation::particule::redraw ( const frame_parameters value  ) 

void unit_animation::particule::invalidate ( const frame_parameters value,
const bool  primary = false 
) const

void unit_animation::particule::start_animation ( int  start_time,
const gamemap::location src,
const gamemap::location dst,
bool  cycles = false 
)

const frame_parameters unit_animation::particule::parameters ( const frame_parameters default_val,
bool  primary 
) const [inline]


Member Data Documentation

Definition at line 94 of file unit_animation.hpp.

Referenced by invalidate(), redraw(), and start_animation().

Definition at line 95 of file unit_animation.hpp.

Referenced by invalidate(), redraw(), and start_animation().

Definition at line 96 of file unit_animation.hpp.

Referenced by redraw(), start_animation(), and ~particule().

Definition at line 97 of file unit_animation.hpp.

Referenced by redraw(), and start_animation().


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

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs