Beispiel #1
0
 abstract public void Move(Figure fig);
Beispiel #2
0
        // You can declare whatever state variables you need to define the move

        public override void Move(Figure fig)
        {
            // Want rotates, scales, translates - clever moves!
            // As an example of a start - move a little in the X.
            fig.Translate(0.1f, 0, 0);
        }