C# Class Project290.Games.Solitude.SolitudeObjects.Player

Inheritance: SolitudeObject
ファイルを表示 Open project: scastle/Solitude Class Usage Examples

Public Properties

Property Type Description
PlayerFixture Project290.Physics.Dynamics.Fixture
enterDoor Door
enterPosition Vector2
fBar Project290.Games.Solitude.SolitudeHUD.FuelBar
fuel int
hasBoots bool
hasDiedRecently bool
hasENVSuit bool
hasGloves bool
hasJetpack bool
hasSpaceSuit bool
hasUsedJetPack bool
hpBar Project290.Games.Solitude.SolitudeHUD.HealthBar
lives int
onWall bool
oxygen int
standingOn SolitudeObject
width int

Public Methods

Method Description
Draw ( ) : void
Player ( Vector2 position, World world ) : System
Reset ( ) : void
Update ( ) : void

Method Details

Draw() public method

public Draw ( ) : void
return void

Player() public method

public Player ( Vector2 position, World world ) : System
position Vector2
world Project290.Physics.Dynamics.World
return System

Reset() public method

public Reset ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

PlayerFixture public_oe property

public Fixture,Project290.Physics.Dynamics PlayerFixture
return Project290.Physics.Dynamics.Fixture

enterDoor public_oe property

the door used to enter room, so we can reset if the player dies
public Door,Project290.Games.Solitude.SolitudeObjects enterDoor
return Door

enterPosition public_oe property

public Vector2 enterPosition
return Vector2

fBar public_oe property

public FuelBar,Project290.Games.Solitude.SolitudeHUD fBar
return Project290.Games.Solitude.SolitudeHUD.FuelBar

fuel public_oe property

public int fuel
return int

hasBoots public_oe property

public bool hasBoots
return bool

hasDiedRecently public_oe property

public bool hasDiedRecently
return bool

hasENVSuit public_oe property

public bool hasENVSuit
return bool

hasGloves public_oe property

public bool hasGloves
return bool

hasJetpack public_oe property

public bool hasJetpack
return bool

hasSpaceSuit public_oe property

public bool hasSpaceSuit
return bool

hasUsedJetPack public_oe property

public bool hasUsedJetPack
return bool

hpBar public_oe property

public HealthBar,Project290.Games.Solitude.SolitudeHUD hpBar
return Project290.Games.Solitude.SolitudeHUD.HealthBar

lives public_oe property

public int lives
return int

onWall public_oe property

public bool onWall
return bool

oxygen public_oe property

public int oxygen
return int

standingOn public_oe property

a reference to the wall/door the player is on.
public SolitudeObject,Project290.Games.Solitude.SolitudeObjects standingOn
return SolitudeObject

width public_oe static_oe property

public static int width
return int