Final-Bomber  0.1
Bomberman/Dynablaster remake in C# using XNA.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Pages
FBClient.Sprites.AnimatedSprite Class Reference

Public Member Functions

 AnimatedSprite (Texture2D sprite, Dictionary< AnimationKey, Animation > animation)
 
 AnimatedSprite (Texture2D sprite, Animation animation)
 
void Update (GameTime gameTime)
 
void Draw (GameTime gameTime, SpriteBatch spriteBatch, Vector2 position)
 
void ChangeFramesPerSecond (int newValue)
 

Properties

AnimationKey CurrentAnimation [get, set]
 
Animation[] Animations [get]
 
Animation Animation [get]
 
bool IsAnimating [get, set]
 
int Width [get]
 
int Height [get]
 
Point Dimension [get]
 

Detailed Description

Definition at line 12 of file AnimatedSprite.cs.

Constructor & Destructor Documentation

FBClient.Sprites.AnimatedSprite.AnimatedSprite ( Texture2D  sprite,
Dictionary< AnimationKey, Animation animation 
)

Definition at line 93 of file AnimatedSprite.cs.

FBClient.Sprites.AnimatedSprite.AnimatedSprite ( Texture2D  sprite,
Animation  animation 
)

Definition at line 104 of file AnimatedSprite.cs.

Member Function Documentation

void FBClient.Sprites.AnimatedSprite.ChangeFramesPerSecond ( int  newValue)

Definition at line 163 of file AnimatedSprite.cs.

void FBClient.Sprites.AnimatedSprite.Draw ( GameTime  gameTime,
SpriteBatch  spriteBatch,
Vector2  position 
)

Definition at line 133 of file AnimatedSprite.cs.

void FBClient.Sprites.AnimatedSprite.Update ( GameTime  gameTime)

Definition at line 115 of file AnimatedSprite.cs.

Property Documentation

Animation FBClient.Sprites.AnimatedSprite.Animation
get

Definition at line 52 of file AnimatedSprite.cs.

Animation [] FBClient.Sprites.AnimatedSprite.Animations
get

Definition at line 37 of file AnimatedSprite.cs.

AnimationKey FBClient.Sprites.AnimatedSprite.CurrentAnimation
getset

Definition at line 31 of file AnimatedSprite.cs.

Point FBClient.Sprites.AnimatedSprite.Dimension
get

Definition at line 85 of file AnimatedSprite.cs.

int FBClient.Sprites.AnimatedSprite.Height
get

Definition at line 74 of file AnimatedSprite.cs.

bool FBClient.Sprites.AnimatedSprite.IsAnimating
getset

Definition at line 57 of file AnimatedSprite.cs.

int FBClient.Sprites.AnimatedSprite.Width
get

Definition at line 63 of file AnimatedSprite.cs.


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