C# Class UnitsOfWork.Game

Mostra file Open project: TelerikAcademy/Data-Structures-and-Algorithms Class Usage Examples

Public Methods

Method Description
Add ( Unit unit ) : bool
FindByType ( string type ) : IEnumerable
Game ( ) : System
MostPowerful ( int numberOfUnits ) : IEnumerable
Remove ( string name ) : bool

Method Details

Add() public method

public Add ( Unit unit ) : bool
unit Unit
return bool

FindByType() public method

public FindByType ( string type ) : IEnumerable
type string
return IEnumerable

Game() public method

public Game ( ) : System
return System

MostPowerful() public method

public MostPowerful ( int numberOfUnits ) : IEnumerable
numberOfUnits int
return IEnumerable

Remove() public method

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