C# Class MiningGame.Code.Entities.EntityDroppedItem

Inheritance: EntityMoveable
Show file Open project: geel9/Minor-Destruction Class Usage Examples

Public Properties

Property Type Description
DroppedItemID short
Incomplete bool
MovingTowards PlayerEntity
ShouldDestroy bool

Public Methods

Method Description
Draw ( Microsoft sb ) : void
EntityDroppedItem ( Vector2 position, Vector2 velocity, byte itemid, short ID ) : System
Update ( GameTime time ) : void

Method Details

Draw() public method

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

EntityDroppedItem() public method

public EntityDroppedItem ( Vector2 position, Vector2 velocity, byte itemid, short ID ) : System
position Vector2
velocity Vector2
itemid byte
ID short
return System

Update() public method

public Update ( GameTime time ) : void
time Microsoft.Xna.Framework.GameTime
return void

Property Details

DroppedItemID public property

public short DroppedItemID
return short

Incomplete public property

public bool Incomplete
return bool

MovingTowards public property

public PlayerEntity,MiningGame.Code.Entities MovingTowards
return PlayerEntity

ShouldDestroy public property

public bool ShouldDestroy
return bool