Package net.javlov.example

Examples of net.javlov.example.GridLimitedOptionsWorld


   
    return optionPool;
  }
 
  protected void makeWorld() {
    world = new GridLimitedOptionsWorld(20, 20, cellwidth, cellheight);
   
    Body wall = new Phys2DBody( new StaticBox(4*cellwidth, cellheight), 10, true );
    wall.setLocation(2*cellwidth, 10*cellheight+0.5*cellheight);
    wall.setType(Body.OBSTACLE);
    world.addFixedBody(wall);
 
View Full Code Here


    return optionPool;
  }
 
  protected void makeWorld() {
    world = new GridLimitedOptionsWorld(15, 18, cellwidth, cellheight);
   
    Body landmark = new Phys2DBody( new StaticBox(cellwidth, cellheight), 10, true );
    landmark.setLocation(4.5*cellwidth, 14.5*cellheight);
    landmark.setType(Body.UNDEFINED);
    world.addFixedBody(landmark);
 
View Full Code Here

TOP

Related Classes of net.javlov.example.GridLimitedOptionsWorld

Copyright © 2018 www.massapicom. 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.