Exemplo n.º 1
0
	public void ClaimSlot(IPeon p, int slotIdx)
	{
		peons[slotIdx] = p;
	}
Exemplo n.º 2
0
	public bool IsPeonRegistered(IPeon peon) {
		return (peons.Find (x => x == peon) != null);
	}
Exemplo n.º 3
0
	public void UnregisterPeon (IPeon peon) {
		peons.Remove (peon);
	}
Exemplo n.º 4
0
 public void RegisterPeon(IPeon peon)
 {
     peons.Add(peon);
 }