public void Init() { enabled = true; this.isReady = false; this.listenerList = new HexListenerList(); this.hexList = new Dictionary <Vector3, HexField>(); }
public void Init() { enabled = true; this.isReady = false; this.listenerList = new HexListenerList (); this.hexList = new Dictionary<Vector3, HexField>(); }
/** * w hexie może być więcej listenerów, dlatego musi być lista, listę możemy przekazać. Pozwala to dla całej planszy ustawić jedną listę eventów */ public void SetListenerList(HexListenerList listenerList) { this.listenerList = listenerList; }