C# Class SFML_Farseer_Network.Managers.NetManager

显示文件 Open project: klutch/SFMLFarseerNetwork Class Usage Examples

Public Methods

Method Description
NetManager ( Game game ) : System
connectTo ( string ip ) : void
receiveDestroyMouseJoint ( NetIncomingMessage im ) : void
receiveDynamicBodiesUpdate ( NetIncomingMessage im ) : void
receiveMoveMouseJoint ( NetIncomingMessage im ) : void
sendCreateMouseJoint ( FixedMouseJoint mouseJoint ) : void
sendDestroyMouseJoint ( ) : void
sendMoveMouseJoint ( FixedMouseJoint joint ) : void
shutdown ( ) : void
startClient ( ) : void
startServer ( ) : void
update ( ) : void

Private Methods

Method Description
processIncomingMessages ( ) : void
receiveCreateMouseJoint ( NetIncomingMessage im ) : void
sendDynamicBodies ( ) : void

Method Details

NetManager() public method

public NetManager ( Game game ) : System
game Game
return System

connectTo() public method

public connectTo ( string ip ) : void
ip string
return void

receiveDestroyMouseJoint() public method

public receiveDestroyMouseJoint ( NetIncomingMessage im ) : void
im Lidgren.Network.NetIncomingMessage
return void

receiveDynamicBodiesUpdate() public method

public receiveDynamicBodiesUpdate ( NetIncomingMessage im ) : void
im Lidgren.Network.NetIncomingMessage
return void

receiveMoveMouseJoint() public method

public receiveMoveMouseJoint ( NetIncomingMessage im ) : void
im Lidgren.Network.NetIncomingMessage
return void

sendCreateMouseJoint() public method

public sendCreateMouseJoint ( FixedMouseJoint mouseJoint ) : void
mouseJoint FarseerPhysics.Dynamics.Joints.FixedMouseJoint
return void

sendDestroyMouseJoint() public method

public sendDestroyMouseJoint ( ) : void
return void

sendMoveMouseJoint() public method

public sendMoveMouseJoint ( FixedMouseJoint joint ) : void
joint FarseerPhysics.Dynamics.Joints.FixedMouseJoint
return void

shutdown() public method

public shutdown ( ) : void
return void

startClient() public method

public startClient ( ) : void
return void

startServer() public method

public startServer ( ) : void
return void

update() public method

public update ( ) : void
return void