C# Class Touhou.ExampleSprite.ExampleSprite.Bullet

Inheritance: Microsoft.Xna.Framework.Graphics.Sprite
Datei anzeigen Open project: schedule-productions/Touhou

Public Properties

Property Type Description
hasGrazed bool
hitRadius float

Public Methods

Method Description
Bullet ( AnimatedTexture t, Vector2 p, Vector2 d, Color c, drawType ty ) : System
Bullet ( AnimatedTexture t, Vector2 p, float a, float s, Color c, drawType ty ) : System
Bullet ( Microsoft.Xna.Framework.Graphics.Texture2D t, Vector2 p, Vector2 d, Color c, drawType ty ) : System
Bullet ( Microsoft.Xna.Framework.Graphics.Texture2D t, Vector2 p, float a, float s, Color c, drawType ty ) : System
collide ( ) : bool

Method Details

Bullet() public method

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

Bullet() public method

public Bullet ( 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

Bullet() public method

public Bullet ( 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

Bullet() public method

public Bullet ( 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

collide() public method

public collide ( ) : bool
return bool

Property Details

hasGrazed public_oe property

public bool hasGrazed
return bool

hitRadius public_oe property

public float hitRadius
return float