/// <summary> /// Use this for initialization /// </summary> virtual protected void Start() { pointsAdded = new PointsAdded(); EventManager.AddPointsAddedInvoker(this); blockDestroyed = new BlockDestroyed(); EventManager.AddBlockDestroyedInvoker(this); }
/// <summary> /// Use this for initialization /// </summary> virtual protected void Start() { // scoring support pointsAdded = new PointsAdded(); EventManager.AddPointsAddedInvoker(this); // destruction support blockDestroyed = new BlockDestroyed(); EventManager.AddBlockDestroyedInvoker(this); }
protected Block() { blockDestroyedEvent = new BlockDestroyed(); EventManager.AddBlockDestroyedInvoker(this); }