Rogue: Savage Rats, a retro-themed dungeon crawler
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.
rogue-savage-rats/src/mightypork/rogue/world/entity/SimpleEntityPathFindingCont...

30 lines
379 B

package mightypork.rogue.world.entity;
10 years ago
import mightypork.rogue.world.Coord;
public class SimpleEntityPathFindingContext extends EntityPathfindingContext {
10 years ago
public SimpleEntityPathFindingContext(Entity entity)
{
super(entity);
}
10 years ago
@Override
public int getCost(Coord from, Coord to)
{
return 10;
}
10 years ago
@Override
public int getMinCost()
{
return 10;
}
}