C# Class MiningGame.Code.Entities.EntityMoveable

Inheritance: Entity
显示文件 Open project: geel9/Minor-Destruction

Public Properties

Property Type Description
EntityVelocity Microsoft.Xna.Framework.Vector2

Public Methods

Method Description
Draw ( Microsoft sb ) : void
EntityMovement ( ) : void
GetEntityTile ( ) : Vector2
Update ( GameTime time, bool serverContext = false ) : void

Private Methods

Method Description
RectangleHitsTiles ( ShapeAABB rect ) : List

Method Details

Draw() public method

public Draw ( Microsoft sb ) : void
sb Microsoft
return void

EntityMovement() public method

public EntityMovement ( ) : void
return void

GetEntityTile() public method

public GetEntityTile ( ) : Vector2
return Microsoft.Xna.Framework.Vector2

Update() public method

public Update ( GameTime time, bool serverContext = false ) : void
time Microsoft.Xna.Framework.GameTime
serverContext bool
return void

Property Details

EntityVelocity public_oe property

public Vector2,Microsoft.Xna.Framework EntityVelocity
return Microsoft.Xna.Framework.Vector2