// Use this for initialization void Start() { state = RookState.NeverMoved; base.Do_Init(); Sprite temp = null; movementVectors.Add(new Vector3(0, 1, 0)); movementVectors.Add(new Vector3(0, -1, 0)); if (!isWhite) { gameObject.GetComponent <SpriteRenderer> ().sprite = GetComponentInParent <SpriteDictionary> ().SpriteDict["spr_chess_pieces_2"]; } if (isWhite) { gameObject.GetComponent <SpriteRenderer> ().sprite = GetComponentInParent <SpriteDictionary>().SpriteDict["spr_chess_pieces_8"]; } }
public Ticket(string shift, string ticketID, string startTime, string startPlease, string endTime, string endPlease, int maxPeople, int earlyPeople, int nightPeople, RookState rookStake) { this.shift = shift; this.ticketID = ticketID; this.startTime = startTime; this.startPlease = startPlease; this.endTime = endTime; this.endPlease = endPlease; //this.needTime = needTime; this.maxPeople = maxPeople; this.earlyPeople = earlyPeople; this.nightPeople = nightPeople; this.rookState = rookStake; }