You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
689 B
46 lines
689 B
package mightypork.rogue.world.tile.tiles;
|
|
|
|
import mightypork.rogue.world.tile.TileRenderer;
|
|
import mightypork.rogue.world.tile.TileType;
|
|
import mightypork.util.math.color.Color;
|
|
import mightypork.util.math.color.RGB;
|
|
|
|
|
|
public class WallTile extends BasicTile {
|
|
|
|
public WallTile(int id, TileRenderer renderer)
|
|
{
|
|
super(id, renderer);
|
|
}
|
|
|
|
@Override
|
|
public boolean isPotentiallyWalkable()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
@Override
|
|
public TileType getType()
|
|
{
|
|
return TileType.WALL;
|
|
}
|
|
|
|
@Override
|
|
public boolean canHaveItems()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
@Override
|
|
public boolean doesCastShadow()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
@Override
|
|
public Color getMapColor()
|
|
{
|
|
return RGB.GRAY_LIGHT;
|
|
}
|
|
|
|
}
|
|
|