Searched refs:mTileWidth (Results 1 – 3 of 3) sorted by relevance
/external/replicaisland/src/com/replica/replicaisland/ |
D | LevelSystem.java | 31 public int mTileWidth; field in LevelSystem 63 return mWidthInTiles * mTileWidth; in getLevelWidth() 111 mTileWidth = 32; in loadLevel() 127 assert mTileWidth != 0; in loadLevel() local 132 if (mWidthInTiles > 0 && mTileWidth > 0) { in loadLevel() 140 mWidthInTiles * mTileWidth, in loadLevel() 148 mTileWidth, mTileHeight, world, tileIndex); in loadLevel() 162 collision.initialize(world, mTileWidth, mTileHeight); in loadLevel() 193 factory.spawnFromWorld(mSpawnLocations, mTileWidth, mTileHeight); in spawnObjects()
|
D | TiledVertexGrid.java | 25 private int mTileWidth; field in TiledVertexGrid 42 mTileWidth = tileWidth; in TiledVertexGrid() 60 final int tileWidth = mTileWidth; in generateGrid() 137 mWorldPixelWidth = mWorld.getWidth() * mTileWidth; in draw() 182 final int horizontalSlop = ((tileSpaceX - leftTile) * mTileWidth) > 0 ? 1 : 0; in draw() 189 final int horzTileCount = (int)Math.ceil((float)mWidth / mTileWidth); in draw()
|
D | CollisionSystem.java | 45 private int mTileWidth; field in CollisionSystem 89 mTileWidth = tileWidth; in initialize() 114 mTileSegmentTester.setup(movementDirection, mTileWidth, mTileHeight); in castRay() 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() 196 final float xOffset = x * mTileWidth; in testBox() 420 return Utils.clamp((int)Math.floor(x / mTileWidth), 0, width - 1); in worldToTileColumn() 617 private int mTileWidth; field in CollisionSystem.TileTestVisitor 638 mTileWidth = tileWidth; in setup() 649 mTileSpaceOffset.set(tileX * mTileWidth, tileY * mTileHeight); in visit()
|