com.realtime.crossfire.jxclient.map.AnimationMap Class Reference

Collaboration diagram for com.realtime.crossfire.jxclient.map.AnimationMap:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void clear ()
void add (@NotNull final MapUpdaterState mapUpdaterState,@NotNull final Location location,@NotNull final AnimationState animationState)
void remove (@NotNull final Location location)
void updateSpeed (@NotNull final MapUpdaterState mapUpdaterState,@NotNull final Location location, final int speed)
void scroll (final int dx, final int dy, final int width, final int height)

Detailed Description

Maintains AnimationState instances for map locations.

Author:
Andreas Kirschbaum

Definition at line 35 of file AnimationMap.java.


Member Function Documentation

void com.realtime.crossfire.jxclient.map.AnimationMap.add ( @NotNull final MapUpdaterState  mapUpdaterState,
@NotNull final Location  location,
@NotNull final AnimationState  animationState 
)

Adds a new AnimationState to a Location. If the location was not empty, the previous animation state is freed.

Parameters:
mapUpdaterState the map updater state instance to use
location the location to add to
animationState the animation state to add

Definition at line 58 of file AnimationMap.java.

Here is the caller graph for this function:

void com.realtime.crossfire.jxclient.map.AnimationMap.clear (  ) 

Forgets all state.

Definition at line 47 of file AnimationMap.java.

Here is the caller graph for this function:

void com.realtime.crossfire.jxclient.map.AnimationMap.remove ( @NotNull final Location  location  ) 

Clears a Location.

Parameters:
location the location to clear

Definition at line 67 of file AnimationMap.java.

Here is the caller graph for this function:

void com.realtime.crossfire.jxclient.map.AnimationMap.scroll ( final int  dx,
final int  dy,
final int  width,
final int  height 
)

Scrolls all locations.

Parameters:
dx the x distance to scroll
dy the y distance to scroll
width the map width
height the map height

Definition at line 94 of file AnimationMap.java.

Here is the caller graph for this function:

void com.realtime.crossfire.jxclient.map.AnimationMap.updateSpeed ( @NotNull final MapUpdaterState  mapUpdaterState,
@NotNull final Location  location,
final int  speed 
)

Updates the animation speed value of a Location.

Parameters:
mapUpdaterState the map updater state instance to use
location the location to update
speed the new animation speed

Definition at line 77 of file AnimationMap.java.

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
Generated on Sun Nov 6 15:56:19 2011 for Crossfire JXClient, Trunk by  doxygen 1.6.3