Package game.level.tile

Examples of game.level.tile.Tile


  public boolean isSolidTile(int xa, int ya, int x, int y) {
    if (level == null) {
      return false;
    }
    Tile lastTile = level.getTile((this.x + x) >> 3, (this.y + y) >> 3);
    Tile newTile = level.getTile((this.x + x + xa) >> 3,
        (this.y + y + ya) >> 3);
    if (!lastTile.equals(newTile) && newTile.isSolid()) {
      return true;
    }
    return false;
  }
View Full Code Here

TOP

Related Classes of game.level.tile.Tile

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.