public Player(IMovement movement, IEntityFactory networkPlayer, ICurrentNode currentNode, string name) { currentNode.SetName(name); networkPlayer.CreateNetworkingPlayer(); _name = name; }
public DefaultWorld( IProfiler profiler, INetworkingSession networkSession, IEntityFactory playerFactory, ICurrentNode currentNode) { currentNode.SetName("AmazingWorld"); playerFactory.CreatePlayer("Player1"); playerFactory.CreatePlayer("Player2"); }
public DefaultMovement(IInput input, ICurrentNode currentNode) { currentNode.SetName(GetRandomName()); }