C# Class MiningGame.Code.Entities.EntityDroppedItem

Inheritance: EntityMoveable
Mostra 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_oe property

public short DroppedItemID
return short

Incomplete public_oe property

public bool Incomplete
return bool

MovingTowards public_oe property

public PlayerEntity,MiningGame.Code.Entities MovingTowards
return PlayerEntity

ShouldDestroy public_oe property

public bool ShouldDestroy
return bool