Beispiel #1
0
        private void OnPossibleMoveCreate(PossibleMove possibleMove)
        {
            PossibleMoveWrapper posmove = new PossibleMoveWrapper(possibleMove);

            possibleMove.tag     = posmove;
            possibleMove.OnOver += OnPossibleMoveOver;
            possibleMoves.Add(posmove);
        }
Beispiel #2
0
        private void OnPossibleMoveOver(PossibleMove sender)
        {
            PossibleMoveWrapper posmove = (PossibleMoveWrapper)sender.tag;

            possibleMoves.Remove(posmove);
        }