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.
49 lines
612 B
49 lines
612 B
package mightypork.rogue.world.tile.impl;
|
|
|
|
|
|
import mightypork.rogue.world.item.Item;
|
|
import mightypork.rogue.world.tile.Tile;
|
|
import mightypork.rogue.world.tile.TileModel;
|
|
|
|
|
|
public abstract class TileSolid extends Tile {
|
|
|
|
public TileSolid(TileModel model) {
|
|
super(model);
|
|
}
|
|
|
|
|
|
@Override
|
|
public boolean isWalkable()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
|
|
@Override
|
|
public boolean doesCastShadow()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
|
|
@Override
|
|
public boolean hasItem()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
|
|
@Override
|
|
public boolean dropItem(Item item)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
|
|
@Override
|
|
public Item pickItem()
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|