C# Класс BattleControllerScript.BattleActor, Spare-Change

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

BattleActor() публичный Метод

public BattleActor ( string actorName, GameControllerScript.Weapon, actorWeapon ) : System.Collections
actorName string
actorWeapon GameControllerScript.Weapon,
Результат System.Collections

BattleActor() публичный Метод

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
Результат System.Collections

addDamage() публичный Метод

public addDamage ( int dmg ) : void
dmg int
Результат void

changeWeapon() публичный Метод

public changeWeapon ( GameControllerScript.Weapon, theWeapon ) : void
theWeapon GameControllerScript.Weapon,
Результат void

getActions() публичный Метод

public getActions ( ) : List
Результат List

getDefense() публичный Метод

public getDefense ( ) : int
Результат int

getSpeed() публичный Метод

public getSpeed ( ) : int
Результат int