C# Class MegaMan.Engine.Player

ファイルを表示 Open project: Tesserex/C--MegaMan-Engine Class Usage Examples

Public Methods

Method Description
CollectItem ( string itemName, int quantity = 1 ) : void
DefeatBoss ( string name ) : void
IsBossDefeated ( string name ) : bool
IsWeaponUnlocked ( string name ) : bool
ItemQuantity ( string itemName ) : int
Player ( ) : System
SetVar ( string name, string value ) : void
UnlockWeapon ( string name ) : void
UseItem ( string itemName, int quantity = 1 ) : bool
Var ( string name ) : string

Method Details

CollectItem() public method

public CollectItem ( string itemName, int quantity = 1 ) : void
itemName string
quantity int
return void

DefeatBoss() public method

public DefeatBoss ( string name ) : void
name string
return void

IsBossDefeated() public method

public IsBossDefeated ( string name ) : bool
name string
return bool

IsWeaponUnlocked() public method

public IsWeaponUnlocked ( string name ) : bool
name string
return bool

ItemQuantity() public method

public ItemQuantity ( string itemName ) : int
itemName string
return int

Player() public method

public Player ( ) : System
return System

SetVar() public method

public SetVar ( string name, string value ) : void
name string
value string
return void

UnlockWeapon() public method

public UnlockWeapon ( string name ) : void
name string
return void

UseItem() public method

public UseItem ( string itemName, int quantity = 1 ) : bool
itemName string
quantity int
return bool

Var() public method

public Var ( string name ) : string
name string
return string