private Vector3 getPlayerCoordinate(GameMessage.PositionEnum position) { if (position == GameMessage.PositionEnum.TOP_LEFT) { return(new Vector3(-240.0f, 60.0f, 1.0f)); } else if (position == GameMessage.PositionEnum.LOWER_LEFT) { return(new Vector3(-190.0f, -70.0f, 1.0f)); } else if (position == GameMessage.PositionEnum.CENTRAL) { return(new Vector3(0.0f, -120.0f, 1.0f)); } else if (position == GameMessage.PositionEnum.LOWER_RIGHT) { return(new Vector3(190.0f, -70.0f, 1.0f)); } else if (position == GameMessage.PositionEnum.TOP_RIGHT) { return(new Vector3(240.0f, 60.0f, 1.0f)); } else { return(new Vector3(1.0f, 1.0f, 1.0f)); } }
private Vector3 getCardCoordinate(GameMessage.PositionEnum position) { if (position == GameMessage.PositionEnum.TOP_LEFT) { return(new Vector3(0.0f, 0.0f, 0.0f)); } else if (position == GameMessage.PositionEnum.LOWER_LEFT) { return(new Vector3(0.0f, 0.0f, 0.0f)); } else if (position == GameMessage.PositionEnum.CENTRAL) { return(new Vector3(0.0f, 0.0f, 0.0f)); } else if (position == GameMessage.PositionEnum.LOWER_RIGHT) { return(new Vector3(0.0f, 0.0f, 0.0f)); } else if (position == GameMessage.PositionEnum.TOP_RIGHT) { return(new Vector3(0.0f, 0.0f, 0.0f)); } else { return(new Vector3(0.0f, 0.0f, 0.0f)); } }