public NetworkWaitingGui Get(NetworkEntityRole role) { switch (role) { case NetworkEntityRole.Client: return new ClientNetworkWaitingGui(networkEntity); case NetworkEntityRole.Server: return new ServerNetworkWaitingGui(networkEntity); default: return null; } }
public NetworkEntity Get(NetworkEntityRole role) { switch (role) { case NetworkEntityRole.Client: return new ClientNetworkEntity(networkView); case NetworkEntityRole.Server: return new ServerNetworkEntity(networkView); default: return null; } }
public NetworkEntity Get(NetworkEntityRole role) { switch (role) { case NetworkEntityRole.Client: return(new ClientNetworkEntity(networkView)); case NetworkEntityRole.Server: return(new ServerNetworkEntity(networkView)); default: return(null); } }
public NetworkWaitingGui Get(NetworkEntityRole role) { switch (role) { case NetworkEntityRole.Client: return(new ClientNetworkWaitingGui(networkEntity)); case NetworkEntityRole.Server: return(new ServerNetworkWaitingGui(networkEntity)); default: return(null); } }