Package it.marteEngine.entity

Examples of it.marteEngine.entity.PlatformerEntity


    blocked = new int[widthInTiles][heightInTiles];

    loadEntityFromMap(map, Arrays.asList("entity", "background", "star",
        "enemies", "spikes"));

    PlatformerEntity player = loadPlayer(map, "player");
    // old camera
    // setCamera(new Camera(this, player, container.getWidth(),
    // container.getHeight()));
    setCamera(new Camera(this, player, container.getWidth(),
        container.getHeight(), 550, 170, player.maxSpeed));
View Full Code Here


  public void init(GameContainer container, StateBasedGame game)
      throws SlickException {

    super.init(container, game);
    // create player & camera
    PlatformerEntity player = new PlatformerEntity(80, 100, "player");
    add(player);

    // add some blocks to level, I will just create and add to the world
    Image block = ResourceManager.getImage("block");
    // bottom
View Full Code Here

TOP

Related Classes of it.marteEngine.entity.PlatformerEntity

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.