C# Class RTSEngine.Data.Team.RTSSquad

显示文件 Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Public Methods

Method Description
Add ( RTSUnit u ) : void
Deserialize ( BinaryReader s, RTSTeam team, List &units ) : RTSSquad
MinDefaultMoveSpeed ( ) : float
RTSSquad ( RTSTeam team ) : System
Radius ( ) : float
RecalculateGridPosition ( ) : void
Remove ( RTSUnit u ) : void
RemoveAll ( Predicate f ) : void
Serialize ( BinaryWriter s, RTSSquad squad ) : void

Private Methods

Method Description
OnUnitDestruction ( IEntity u ) : void

Method Details

Add() public method

public Add ( RTSUnit u ) : void
u RTSUnit
return void

Deserialize() public static method

public static Deserialize ( BinaryReader s, RTSTeam team, List &units ) : RTSSquad
s System.IO.BinaryReader
team RTSTeam
units List
return RTSSquad

MinDefaultMoveSpeed() public method

public MinDefaultMoveSpeed ( ) : float
return float

RTSSquad() public method

public RTSSquad ( RTSTeam team ) : System
team RTSTeam
return System

Radius() public method

public Radius ( ) : float
return float

RecalculateGridPosition() public method

public RecalculateGridPosition ( ) : void
return void

Remove() public method

public Remove ( RTSUnit u ) : void
u RTSUnit
return void

RemoveAll() public method

public RemoveAll ( Predicate f ) : void
f Predicate
return void

Serialize() public static method

public static Serialize ( BinaryWriter s, RTSSquad squad ) : void
s System.IO.BinaryWriter
squad RTSSquad
return void