Package dwlab.shapes.layers

Examples of dwlab.shapes.layers.World


  public TileMap clouds;

  @Override
  public void init() {
    Camera.current.setZoom( 32.0 );
    World world = World.fromFile( "res/parallax.lw" );
    Layer layer = (Layer) ( (Layer) world.findShape( Layer.class ) ).load();
    ground = (TileMap) layer.findShape( "Ground" );
    grid = (TileMap) layer.findShape( "Grid" );
    clouds = (TileMap) layer.findShape( "Clouds" );
  }
View Full Code Here

TOP

Related Classes of dwlab.shapes.layers.World

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.