C# Class GameEntities.BooleanSwitch

Defines the user boolean switches.
Inheritance: Switch
Mostra file Open project: DarrenHassan/GDM4242-GroupD

Private Properties

Property Type Description
Client_ReceiveValue void
Server_ReceivePress void
Server_SendValueToClients void
UpdateAttachedObjects void

Public Methods

Method Description
Press ( ) : void

Protected Methods

Method Description
OnPostCreate ( bool loaded ) : void

Overridden from Engine.EntitySystem.Entity.OnPostCreate(Boolean).

Server_OnClientConnectedBeforePostCreate ( RemoteEntityWorld remoteEntityWorld ) : void

Private Methods

Method Description
Client_ReceiveValue ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Server_ReceivePress ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Server_SendValueToClients ( IList remoteEntityWorlds ) : void
UpdateAttachedObjects ( ) : void

Method Details

OnPostCreate() protected method

Overridden from Engine.EntitySystem.Entity.OnPostCreate(Boolean).
protected OnPostCreate ( bool loaded ) : void
loaded bool
return void

Press() public method

public Press ( ) : void
return void

Server_OnClientConnectedBeforePostCreate() protected method

protected Server_OnClientConnectedBeforePostCreate ( RemoteEntityWorld remoteEntityWorld ) : void
remoteEntityWorld RemoteEntityWorld
return void