C# Class Touhou.ExampleSprite.ExampleSprite.Sprite

Show file Open project: schedule-productions/Touhou

Public Properties

Property Type Description
angle float
color Color
dim Vector2
dir Vector2
drops string[]
health float
img Microsoft.Xna.Framework.Graphics.Texture2D
imgA AnimatedTexture
pos Vector2
radians float
rect Microsoft.Xna.Framework.Rectangle
scripts System.Script[]
speed float
spinAngle float
type drawType

Public Methods

Method Description
Sprite ( AnimatedTexture t, Vector2 p, Vector2 d, Color c, drawType ty ) : System
Sprite ( AnimatedTexture t, Vector2 p, float a, float s, Color c, drawType ty ) : System
Sprite ( Microsoft.Xna.Framework.Graphics.Texture2D t, Vector2 p, Vector2 d, Color c, drawType ty ) : System
Sprite ( Microsoft.Xna.Framework.Graphics.Texture2D t, Vector2 p, float a, float s, Color c, drawType ty ) : System
draw ( float layer ) : void
homeIn ( ) : void
update ( ) : bool

Method Details

Sprite() public method

public Sprite ( AnimatedTexture t, Vector2 p, Vector2 d, Color c, drawType ty ) : System
t AnimatedTexture
p Vector2
d Vector2
c Color
ty drawType
return System

Sprite() public method

public Sprite ( AnimatedTexture t, Vector2 p, float a, float s, Color c, drawType ty ) : System
t AnimatedTexture
p Vector2
a float
s float
c Color
ty drawType
return System

Sprite() public method

public Sprite ( Microsoft.Xna.Framework.Graphics.Texture2D t, Vector2 p, Vector2 d, Color c, drawType ty ) : System
t Microsoft.Xna.Framework.Graphics.Texture2D
p Vector2
d Vector2
c Color
ty drawType
return System

Sprite() public method

public Sprite ( Microsoft.Xna.Framework.Graphics.Texture2D t, Vector2 p, float a, float s, Color c, drawType ty ) : System
t Microsoft.Xna.Framework.Graphics.Texture2D
p Vector2
a float
s float
c Color
ty drawType
return System

draw() public method

public draw ( float layer ) : void
layer float
return void

homeIn() public method

public homeIn ( ) : void
return void

update() public method

public update ( ) : bool
return bool

Property Details

angle public property

public float angle
return float

color public property

public Color color
return Color

dim public property

public Vector2 dim
return Vector2

dir public property

public Vector2 dir
return Vector2

drops public property

public string[] drops
return string[]

health public property

public float health
return float

img public property

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

imgA public property

public AnimatedTexture imgA
return AnimatedTexture

pos public property

public Vector2 pos
return Vector2

radians public property

public float radians
return float

rect public property

public Rectangle,Microsoft.Xna.Framework rect
return Microsoft.Xna.Framework.Rectangle

scripts public property

public Script[],System scripts
return System.Script[]

speed public property

public float speed
return float

spinAngle public property

public float spinAngle
return float

type public property

public drawType type
return drawType