public class Border20Map extends Object
Border20
Constructor and Description |
---|
Border20Map(boolean middle)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
checkAll(Border20[][] map,
int tx,
int ty,
int tw,
int th,
int ray)
Check all tiles around the specified location using the specified ray (area).
|
void |
create(MapTile<?,?> map)
Constructor.
|
void |
finalCheck(Border20[][] map,
int tx,
int ty)
Usually called in case of matching error.
|
Border20 |
get(Border20[][] map,
int tx,
int ty)
Get axis value of the specified location.
|
void |
set(Border20[][] map,
int tx,
int ty,
Border20 axis)
Set an axis value.
|
void |
updateExclude(Border20[][] map,
int tx,
int ty)
Special update routine for the outer area.
|
void |
updateInclude(Border20[][] map,
int tx,
int ty,
int tw,
int th,
int ray)
Special update routine for the inner area.
|
public Border20Map(boolean middle)
middle
- The middle flag.public void create(MapTile<?,?> map)
map
- The map reference.public void updateInclude(Border20[][] map, int tx, int ty, int tw, int th, int ray)
map
- The axis20 map reference (map which will contain axis data).tx
- The tile x to check.ty
- The tile y to check.tw
- The width in tile to check.th
- The height in tile to check.ray
- The ray to check (in tile).public void updateExclude(Border20[][] map, int tx, int ty)
map
- The axis20 map reference (map which will contain axis data).tx
- The tile x to check.ty
- The tile y to check.public void checkAll(Border20[][] map, int tx, int ty, int tw, int th, int ray)
map
- The axis20 map reference (map which will contain axis data).tx
- The tile x to check.ty
- The tile y to check.tw
- The width in tile to check.th
- The height in tile to check.ray
- The ray to check (in tile).public void finalCheck(Border20[][] map, int tx, int ty)
map
- The axis20 map reference (map which will contain axis data).tx
- The tile x to check.ty
- The tile y to check.public void set(Border20[][] map, int tx, int ty, Border20 axis)
map
- The map reference.tx
- The horizontal tile.ty
- The vertical tile.axis
- The axis value.Copyright © 2014 Byron 3D Games Studio. All rights reserved.