C# Class Shooter.MapClasses.MapObject

Datei anzeigen Open project: JoeyTheAsian/Just-Force Class Usage Examples

Public Properties

Property Type Description
collision bool

Protected Properties

Property Type Description
loc Coord
objTexture Microsoft.Xna.Framework.Graphics.Texture2D

Public Methods

Method Description
CheckCollide ( Entity e, Camera c, bool left, bool right, bool top, bool bot ) : string

Checks to see if there is collision

MapObject ( Microsoft.Xna.Framework.Content.ContentManager content, bool c, string texture, int x, int y ) : Microsoft.Xna.Framework.Graphics
MapObject ( Microsoft.Xna.Framework.Content.ContentManager content, int x, int y ) : Microsoft.Xna.Framework.Graphics

Method Details

CheckCollide() public method

Checks to see if there is collision
public CheckCollide ( Entity e, Camera c, bool left, bool right, bool top, bool bot ) : string
e Entity
c Shooter.Controls.Camera
left bool
right bool
top bool
bot bool
return string

MapObject() public method

public MapObject ( Microsoft.Xna.Framework.Content.ContentManager content, bool c, string texture, int x, int y ) : Microsoft.Xna.Framework.Graphics
content Microsoft.Xna.Framework.Content.ContentManager
c bool
texture string
x int
y int
return Microsoft.Xna.Framework.Graphics

MapObject() public method

public MapObject ( Microsoft.Xna.Framework.Content.ContentManager content, int x, int y ) : Microsoft.Xna.Framework.Graphics
content Microsoft.Xna.Framework.Content.ContentManager
x int
y int
return Microsoft.Xna.Framework.Graphics

Property Details

collision public_oe property

public bool collision
return bool

loc protected_oe property

protected Coord loc
return Coord

objTexture protected_oe property

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