| 1 | package com.takenoko.bot.unitary; | |
| 2 | ||
| 3 | import com.takenoko.actions.weather.ChooseIfApplyWeatherAction; | |
| 4 | import com.takenoko.bot.PriorityBot; | |
| 5 | import com.takenoko.engine.Board; | |
| 6 | import com.takenoko.engine.BotState; | |
| 7 | import com.takenoko.engine.History; | |
| 8 | ||
| 9 | public class SmartApplyWeather extends PriorityBot { | |
| 10 | protected void fillAction(Board board, BotState botState, History history) { | |
| 11 | // Always apply the weather | |
| 12 |
1
1. fillAction : removed call to com/takenoko/bot/unitary/SmartApplyWeather::addActionWithPriority → KILLED |
this.addActionWithPriority(new ChooseIfApplyWeatherAction(true), DEFAULT_PRIORITY); |
| 13 | } | |
| 14 | } | |
Mutations | ||
| 12 |
1.1 |