C# Class Touhou.ExampleSprite.ExampleSprite.Sprite

显示文件 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_oe property

public float angle
return float

color public_oe property

public Color color
return Color

dim public_oe property

public Vector2 dim
return Vector2

dir public_oe property

public Vector2 dir
return Vector2

drops public_oe property

public string[] drops
return string[]

health public_oe property

public float health
return float

img public_oe property

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

imgA public_oe property

public AnimatedTexture imgA
return AnimatedTexture

pos public_oe property

public Vector2 pos
return Vector2

radians public_oe property

public float radians
return float

rect public_oe property

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

scripts public_oe property

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

speed public_oe property

public float speed
return float

spinAngle public_oe property

public float spinAngle
return float

type public_oe property

public drawType type
return drawType