C# Class ElectronicObserver.Data.Battle.Phase.PhaseBase

戦闘フェーズの基底クラスです。
Afficher le fichier Open project: RadarNyan/ElectronicObserver-ML Class Usage Examples

Méthodes publiques

Свойство Type Description
Title string

Protected Properties

Свойство Type Description
Battle BattleData

Méthodes publiques

Méthode Description
EmulateBattle ( Array hps, Array damages ) : void

戦闘をエミュレートします。

GetBattleDetail ( ) : string
GetBattleDetail ( int index ) : string
ToString ( ) : string

Méthodes protégées

Méthode Description
AddDamage ( Array hps, int index, int damage ) : void

被ダメージ処理を行います。

IsIndexEnemy ( int index ) : bool
IsIndexFriend ( int index ) : bool
PhaseBase ( BattleData battle, string title ) : ElectronicObserver.Data.Battle.Detail
SearchBattleDetails ( int index ) : IEnumerable

Method Details

AddDamage() protected méthode

被ダメージ処理を行います。
protected AddDamage ( Array hps, int index, int damage ) : void
hps Array 各艦のHPリスト。
index int ダメージを受ける艦のインデックス。
damage int ダメージ。
Résultat void

EmulateBattle() public abstract méthode

戦闘をエミュレートします。
public abstract EmulateBattle ( Array hps, Array damages ) : void
hps Array 各艦のHPリスト。
damages Array 各艦の与ダメージリスト。
Résultat void

GetBattleDetail() public méthode

public GetBattleDetail ( ) : string
Résultat string

GetBattleDetail() public méthode

public GetBattleDetail ( int index ) : string
index int
Résultat string

IsIndexEnemy() protected static méthode

protected static IsIndexEnemy ( int index ) : bool
index int
Résultat bool

IsIndexFriend() protected static méthode

protected static IsIndexFriend ( int index ) : bool
index int
Résultat bool

PhaseBase() protected méthode

protected PhaseBase ( BattleData battle, string title ) : ElectronicObserver.Data.Battle.Detail
battle BattleData
title string
Résultat ElectronicObserver.Data.Battle.Detail

SearchBattleDetails() protected méthode

protected SearchBattleDetails ( int index ) : IEnumerable
index int
Résultat IEnumerable

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

Battle protected_oe property

protected BattleData Battle
Résultat BattleData

Title public_oe property

public string Title
Résultat string