Package org.gbcpainter.game.model.grid

Examples of org.gbcpainter.game.model.grid.Pipe.reset()


    pipe.setColored( new Point( 0, 1 ), false );
    assertFalse( pipe.isColoredAt( new Point( 0, 1 ) ) );
    assertTrue( pipe.isColoredAt( new Point( 0, 2 ) ) );

    pipe.reset();
    assertFalse( pipe.isColoredAt( new Point( 0, 2 ) ) );


    for (int i = 1; i < 10; i++) {
      pipe.setColored( new Point( 0, i ), true );
View Full Code Here


    for (int i = 1; i < 10; i++) {
      pipe.setColored( new Point( 0, i ), true );
    }
    assertTrue( pipe.isColored() );

    pipe.reset();
    assertFalse( pipe.isColored() );

    for (int i = 1; i < 4; i++) {
      pipe.setColored( new Point( 0, i ), true );
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.