C# Class BattleControllerScript.BattleActor, Spare-Change

Datei anzeigen Open project: ThatsAMorais/Spare-Change Class Usage Examples

Public Methods

Method Description
BattleActor ( string actorName, GameControllerScript.Weapon, actorWeapon ) : System.Collections
BattleActor ( string actorName, GameControllerScript.Weapon, actorWeapon, int actorHealth, int actorSpeed, int actorDefense ) : System.Collections
addDamage ( int dmg ) : void
changeWeapon ( GameControllerScript.Weapon, theWeapon ) : void
getActions ( ) : List
getDefense ( ) : int
getSpeed ( ) : int

Method Details

BattleActor() public method

public BattleActor ( string actorName, GameControllerScript.Weapon, actorWeapon ) : System.Collections
actorName string
actorWeapon GameControllerScript.Weapon,
return System.Collections

BattleActor() public method

public BattleActor ( string actorName, GameControllerScript.Weapon, actorWeapon, int actorHealth, int actorSpeed, int actorDefense ) : System.Collections
actorName string
actorWeapon GameControllerScript.Weapon,
actorHealth int
actorSpeed int
actorDefense int
return System.Collections

addDamage() public method

public addDamage ( int dmg ) : void
dmg int
return void

changeWeapon() public method

public changeWeapon ( GameControllerScript.Weapon, theWeapon ) : void
theWeapon GameControllerScript.Weapon,
return void

getActions() public method

public getActions ( ) : List
return List

getDefense() public method

public getDefense ( ) : int
return int

getSpeed() public method

public getSpeed ( ) : int
return int