Searched refs:mWorld (Results 1 – 3 of 3) sorted by relevance
/external/replicaisland/src/com/replica/replicaisland/ |
D | HotSpotSystem.java | 27 TiledWorld mWorld; field in HotSpotSystem 88 mWorld = null; in reset() 92 mWorld = world; in setWorld() 98 if (mWorld != null) { in getHotSpot() 103 result = mWorld.getTile(xTile, yTile); in getHotSpot() 112 if (mWorld != null) { in getHotSpotByTile() 113 result = mWorld.getTile(tileX, tileY); in getHotSpotByTile() 122 if (mWorld != null && level != null) { in getHitTileX() 124 xTile = (int)Math.floor(((worldX) / worldPixelWidth) * mWorld.getWidth()); in getHitTileX() 132 if (mWorld != null && level != null) { in getHitTileY() [all …]
|
D | TiledVertexGrid.java | 24 private TiledWorld mWorld; field in TiledVertexGrid 55 mWorld = world; in setWorld() 69 final int tilesPerWorldColumn = mWorld.getHeight(); in generateGrid() 75 int tileIndex = mWorld.getTile(startTileX + tileX, in generateGrid() 91 int tileIndex = mWorld.getTile(startTileX + tileX, in generateGrid() 131 TiledWorld world = mWorld; in draw() 134 final int tilesAcross = mWorld.getWidth(); in draw() 135 final int tilesDown = mWorld.getHeight(); in draw() 137 mWorldPixelWidth = mWorld.getWidth() * mTileWidth; in draw() 138 mWorldPixelHeight = mWorld.getHeight() * mTileHeight; in draw()
|
D | CollisionSystem.java | 42 private TiledWorld mWorld; field in CollisionSystem 67 mWorld = null; in reset() 87 mWorld = world; in initialize() 178 … final int startTileX = Utils.clamp((int)(startX / mTileWidth), 0, mWorld.getWidth() - 1); in testBox() 179 final int endTileX = Utils.clamp((int)(endX / mTileWidth), 0, mWorld.getWidth() - 1); in testBox() 180 … final int startTileY = Utils.clamp((int)(startY / mTileHeight), 0, mWorld.getHeight() - 1); in testBox() 181 final int endTileY = Utils.clamp((int)(endY / mTileHeight), 0, mWorld.getHeight() - 1); in testBox() 186 final int[][] tileArray = mWorld.getTiles(); in testBox() 187 final int worldHeight = mWorld.getHeight() - 1; in testBox() 298 final int worldHeight = mWorld.getHeight() - 1; in executeStraigtRay() [all …]
|