Package org.moparscape.msc.gs.model.landscape

Examples of org.moparscape.msc.gs.model.landscape.TileValue


   */
  public TileValue getTileValue(int x, int y) {
    if (!withinWorld(x, y)) {
      return null;
    }
    TileValue t = tileType[x][y];
    if (t == null) {
      t = TileValue.create(0, new byte[6]);
      tileType[x][y] = t;
    }
    return t;
View Full Code Here


    if (mob instanceof Player) {
      Player p = (Player) mob;
      if (p.isMod())
        return false;
    }
    TileValue t = world.getTileValue(x, y);
    return isBlocking(t.mapValue, (byte) bit)
        || isBlocking(t.objectValue, (byte) bit) || isMobBlocking(x, y);
  }
View Full Code Here

TOP

Related Classes of org.moparscape.msc.gs.model.landscape.TileValue

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.