C# Class Touhou.ExampleSprite.ExampleSprite.AnimatedTexture

Datei anzeigen Open project: schedule-productions/Touhou

Public Properties

Property Type Description
delay double
dim Vector2
frame int
frames int
img Microsoft.Xna.Framework.Graphics.Texture2D
speed double

Public Methods

Method Description
AnimatedTexture ( AnimatedTexture a ) : System
AnimatedTexture ( Microsoft.Xna.Framework.Graphics.Texture2D t, int f, double s ) : System
getFrame ( ) : Rectangle
willFinish ( double dt ) : bool

Method Details

AnimatedTexture() public method

public AnimatedTexture ( AnimatedTexture a ) : System
a AnimatedTexture
return System

AnimatedTexture() public method

public AnimatedTexture ( Microsoft.Xna.Framework.Graphics.Texture2D t, int f, double s ) : System
t Microsoft.Xna.Framework.Graphics.Texture2D
f int
s double
return System

getFrame() public method

public getFrame ( ) : Rectangle
return Microsoft.Xna.Framework.Rectangle

willFinish() public method

public willFinish ( double dt ) : bool
dt double
return bool

Property Details

delay public_oe property

public double delay
return double

dim public_oe property

public Vector2 dim
return Vector2

frame public_oe property

public int frame
return int

frames public_oe property

public int frames
return int

img public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics img
return Microsoft.Xna.Framework.Graphics.Texture2D

speed public_oe property

public double speed
return double