public void CreateOnTile(Tile tile) { CreateOnTileActual(tile); if (GameManager.gameMode == GameManager.GameMode.online) { NetInterface.Get().SyncPermanentPlaced(SourceCard, tile); } // trigger ETBS E_OnDeployed.Invoke(); }
// places the creature passed to it on the tile passed public void CreateOnTile(Tile tile) { CreateCreatureActual(tile); // sync creature creation if (GameManager.gameMode == GameManager.GameMode.online) { NetInterface.Get().SyncPermanentPlaced(SourceCard, tile); } // trigger effects that need to be triggered E_OnDeployed.Invoke(); GameEvents.E_CreaturePlayed.Invoke(this); }