C# Class TrianglesInSpace.Objects.SelectableObjectRepository

Inheritance: IDisposable, ISelectableObjectRepository
Mostra file Open project: anthony-martin/Triangles-in-space

Public Methods

Method Description
AddObject ( SelectableObject newObject ) : void
Dispose ( ) : void
GetObjectAt ( Vector worldPosition, ulong time ) : IList
OnPathRequest ( RequestPathMessage message ) : void
OnSelectObject ( SelectObjectAtMessage message ) : void
OnSetPath ( SetPathToTargetMessage message ) : void
SelectableObjectRepository ( IBus bus, IPlayerId id, IVesselRepository vesselRepository ) : System

Private Methods

Method Description
OnAdd ( AddObjectMessage message ) : void

Method Details

AddObject() public method

public AddObject ( SelectableObject newObject ) : void
newObject SelectableObject
return void

Dispose() public method

public Dispose ( ) : void
return void

GetObjectAt() public method

public GetObjectAt ( Vector worldPosition, ulong time ) : IList
worldPosition TrianglesInSpace.Primitives.Vector
time ulong
return IList

OnPathRequest() public method

public OnPathRequest ( RequestPathMessage message ) : void
message TrianglesInSpace.Messages.RequestPathMessage
return void

OnSelectObject() public method

public OnSelectObject ( SelectObjectAtMessage message ) : void
message SelectObjectAtMessage
return void

OnSetPath() public method

public OnSetPath ( SetPathToTargetMessage message ) : void
message TrianglesInSpace.Messages.SetPathToTargetMessage
return void

SelectableObjectRepository() public method

public SelectableObjectRepository ( IBus bus, IPlayerId id, IVesselRepository vesselRepository ) : System
bus IBus
id IPlayerId
vesselRepository IVesselRepository
return System