Constructor and Description |
---|
IfRule(BiFunction<Integer,GameState,Boolean> predicate,
Rule success) |
IfRule(BiFunction<Integer,GameState,Boolean> predicate,
Rule success,
Rule failure) |
Modifier and Type | Method and Description |
---|---|
boolean |
canFire(int playerID,
GameState state) |
Action |
execute(int playerID,
GameState state) |
public IfRule(BiFunction<Integer,GameState,Boolean> predicate, Rule success)
Copyright © 2017 FOSS Galaxy. All rights reserved.