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 | |||
scripts | System.Script[] | ||
speed | float | ||
spinAngle | float | ||
type | drawType |
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 |
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 |
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 |
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 |
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 |
public Texture2D,Microsoft.Xna.Framework.Graphics img | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public Rectangle,Microsoft.Xna.Framework rect | ||
return |