C# Class Shooter.MapClasses.MapObject

Afficher le fichier Open project: JoeyTheAsian/Just-Force Class Usage Examples

Méthodes publiques

Свойство Type Description
collision bool

Protected Properties

Свойство Type Description
loc Coord
objTexture Microsoft.Xna.Framework.Graphics.Texture2D

Méthodes publiques

Méthode 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 méthode

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
Résultat string

MapObject() public méthode

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
Résultat Microsoft.Xna.Framework.Graphics

MapObject() public méthode

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
Résultat Microsoft.Xna.Framework.Graphics

Property Details

collision public_oe property

public bool collision
Résultat bool

loc protected_oe property

protected Coord loc
Résultat Coord

objTexture protected_oe property

protected Texture2D,Microsoft.Xna.Framework.Graphics objTexture
Résultat Microsoft.Xna.Framework.Graphics.Texture2D