Interface IPlayerControllable

Namespace
Game.Shared
Assembly
Game.dll

An entity that is controllable by the player. This is not meant to be implemented by components! Rather, components can refer to a controller object.

public interface IPlayerControllable

Methods

GenerateControllerState()

PlayerControllerState GenerateControllerState()

Returns

PlayerControllerState

HandleClientInput(ClientCommands)

void HandleClientInput(ClientCommands commands)

Parameters

commands ClientCommands

OnDebugDraw()

void OnDebugDraw()

Setup(int)

void Setup(int entityId)

Parameters

entityId int

Update(float)

void Update(float delta)

Parameters

delta float