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.PAL16;
|
|
|
|
|
|
public class DoorTile extends BasicTile {
|
|
|
|
public DoorTile(int id, TileRenderer renderer)
|
|
{
|
|
super(id, renderer);
|
|
}
|
|
|
|
@Override
|
|
public boolean isPotentiallyWalkable()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
@Override
|
|
public TileType getType()
|
|
{
|
|
return TileType.DOOR;
|
|
}
|
|
|
|
@Override
|
|
public boolean canHaveItems()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
@Override
|
|
public boolean doesCastShadow()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
@Override
|
|
public Color getMapColor()
|
|
{
|
|
return PAL16.NEWPOOP;
|
|
}
|
|
|
|
}
|
|
|