public async void CallBuildShip(SB_Shipbuilder_Screen screen) { Ship shipData = screen.ShipGameObject.shipData; Dictionary <string, object> options = new Dictionary <string, object>() { { "action", "create" }, { "ship", shipData } }; await shipBuilderRoom.Send(options); RoomManager.HandleOnShipBuilt(); }
public void CallBuildShip(SB_Shipbuilder_Screen screen) { shipyard.CallBuildShip(screen); }