C# Class Shooter.Entities.Entity

Mostra file Open project: JoeyTheAsian/Just-Force

Protected Properties

Property Type Description
collision bool
direction double
entTexture Microsoft.Xna.Framework.Graphics.Texture2D
entityRectangle Microsoft.Xna.Framework.Rectangle
isPlayer bool
loc Coord

Public Methods

Method Description
Entity ( Microsoft.Xna.Framework.Content.ContentManager content ) : System
Entity ( Microsoft.Xna.Framework.Content.ContentManager content, double x, double y, double dir, string t, bool c, Rectangle r ) : System
Entity ( Microsoft.Xna.Framework.Content.ContentManager content, double x, double y, string t, Rectangle r ) : System
Move ( double x, double y ) : void

Method Details

Entity() public method

public Entity ( Microsoft.Xna.Framework.Content.ContentManager content ) : System
content Microsoft.Xna.Framework.Content.ContentManager
return System

Entity() public method

public Entity ( Microsoft.Xna.Framework.Content.ContentManager content, double x, double y, double dir, string t, bool c, Rectangle r ) : System
content Microsoft.Xna.Framework.Content.ContentManager
x double
y double
dir double
t string
c bool
r Microsoft.Xna.Framework.Rectangle
return System

Entity() public method

public Entity ( Microsoft.Xna.Framework.Content.ContentManager content, double x, double y, string t, Rectangle r ) : System
content Microsoft.Xna.Framework.Content.ContentManager
x double
y double
t string
r Microsoft.Xna.Framework.Rectangle
return System

Move() public method

public Move ( double x, double y ) : void
x double
y double
return void

Property Details

collision protected_oe property

protected bool collision
return bool

direction protected_oe property

protected double direction
return double

entTexture protected_oe property

protected Texture2D,Microsoft.Xna.Framework.Graphics entTexture
return Microsoft.Xna.Framework.Graphics.Texture2D

entityRectangle protected_oe property

protected Rectangle,Microsoft.Xna.Framework entityRectangle
return Microsoft.Xna.Framework.Rectangle

isPlayer protected_oe property

protected bool isPlayer
return bool

loc protected_oe property

protected Coord loc
return Coord