C# Class EasyFarm.ViewModels.BattlesViewModel

Inheritance: EasyFarm.ViewModels.ViewModelBase
ファイルを表示 Open project: EasyFarm/EasyFarm

Public Methods

Method Description
BattlesViewModel ( ) : System.Collections.ObjectModel
KeepOne ( ) : void

Ensures a list has at least one ability item in it.

Private Methods

Method Description
AddAction ( ) : void

Add an move to the currently selected list.

ClearActions ( ) : void

Clear the currently selected list.

DeleteAction ( ) : void

Remove an move from the currently selected list.

FindListContainingAbility ( BattleAbility ability ) : BattleList

Finds the list containing the given battle ability.

Method Details

BattlesViewModel() public method

public BattlesViewModel ( ) : System.Collections.ObjectModel
return System.Collections.ObjectModel

KeepOne() public method

Ensures a list has at least one ability item in it.
public KeepOne ( ) : void
return void