C# Class Forge.Unity.AutomaticTurnGameDependencyComponent

The default dependency component which just creates a server and uses an AutomaticTurnGame for command dispatch.
Inheritance: ForgeDependencyComponent
Show file Open project: jacobdufault/forge-unity

Public Properties

Property Type Description
HostPlayer Forge.Networking.Core.Player
TargetUpdatesPerSecond int

Public Methods

Method Description
SendInput ( List input ) : void
TryGetInput ( List &input ) : bool

Protected Methods

Method Description
OnEnable ( ) : void
Reset ( ) : void
Update ( ) : void

Method Details

OnEnable() protected method

protected OnEnable ( ) : void
return void

Reset() protected method

protected Reset ( ) : void
return void

SendInput() public method

public SendInput ( List input ) : void
input List
return void

TryGetInput() public method

public TryGetInput ( List &input ) : bool
input List
return bool

Update() protected method

protected Update ( ) : void
return void

Property Details

HostPlayer public property

public Player,Forge.Networking.Core HostPlayer
return Forge.Networking.Core.Player

TargetUpdatesPerSecond public property

public int TargetUpdatesPerSecond
return int