c-urs_-toil-s/Java/StarTest.java
2011-08-17 15:49:00 +02:00

35 lines
1.3 KiB
Java

import com.cycojesus.Star;
public class StarTest {
public static void main( String[] args ) {
Star star = new Star( );
star.debugDisplay( );
star.move( Star.direction.DOWN );
star.move( Star.direction.RIGHT );
star.move( Star.direction.DOWN );
star.move( Star.direction.LEFT );
star.move( Star.direction.UP );
star.move( Star.direction.RIGHT );
star.move( Star.direction.UP );
star.move( Star.direction.LEFT );
star.move( Star.direction.DOWN );
star.move( Star.direction.RIGHT );
star.move( Star.direction.DOWN );
star.move( Star.direction.LEFT );
star.move( Star.direction.RIGHT );
star.move( Star.direction.UP );
star.move( Star.direction.LEFT );
star.move( Star.direction.UP );
star.move( Star.direction.RIGHT );
star.move( Star.direction.UP );
star.move( Star.direction.DOWN );
star.move( Star.direction.LEFT );
star.move( Star.direction.UP );
star.move( Star.direction.RIGHT );
star.move( Star.direction.DOWN );
star.move( Star.direction.UP );
star.move( Star.direction.LEFT );
star.switchActor( );
star.debugDisplay( );
}
}