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.
26 lines
370 B
26 lines
370 B
10 years ago
|
package mightypork.rogue.world.entity;
|
||
|
|
||
|
import mightypork.rogue.world.Coord;
|
||
|
|
||
|
|
||
|
public class SimpleEntityPathFindingContext extends EntityPathfindingContext {
|
||
|
|
||
|
public SimpleEntityPathFindingContext(Entity entity) {
|
||
|
super(entity);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public int getCost(Coord from, Coord to)
|
||
|
{
|
||
|
return 10;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public int getMinCost()
|
||
|
{
|
||
|
return 10;
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|