Start collision probability calculation
This commit is contained in:
parent
7f320e4aae
commit
5766542802
1 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,7 @@ import bot.util.Log.dbg
|
|||
import bot.environment.Wall
|
||||
import bot.environment.Spawner
|
||||
import bot.environment.Gate
|
||||
import bot.environment.topology.Direction
|
||||
|
||||
|
||||
class BugAI extends Tactical {
|
||||
|
@ -51,6 +52,10 @@ class BugAI extends Tactical {
|
|||
tactic
|
||||
}
|
||||
|
||||
def collissionProability(steps: Int, game: Game): Map[Direction, Double] = {
|
||||
???
|
||||
}
|
||||
|
||||
def goalPoint(bug: Bug, field: Field[Tokens], game: Game): Point = {
|
||||
implicit def fieldToPoint (field: Field[_]): Point = field.point
|
||||
implicit def gameToBoard (game: Game): Board = game.board
|
||||
|
|
Loading…
Reference in a new issue