Exemple #1
0
        void AnimateRemove(Coord coord)
        {
            var pc = Remove(coord);

            pc.OnRemove();
            pieceGenerator.DestroyPiece(pc, removeTime);
        }
        void UnGhost(Coord coord)
        {
            var pc = ghosts[coord];

            ghosts.Remove(coord);
            pc.OnRemove();
            pieceGenerator.DestroyPiece(pc, removeTime);
        }
Exemple #3
0
        public void Reset()
        {
            foreach (var pc in incomingPieces)
            {
                pieceGen.DestroyPiece(pc);
            }

            incomingPieces.Clear();
            GeneratePieces();
        }