equal
deleted
inserted
replaced
5 import ru.alphatech.icfpc.game.Player; |
5 import ru.alphatech.icfpc.game.Player; |
6 import ru.alphatech.icfpc.game.Value; |
6 import ru.alphatech.icfpc.game.Value; |
7 |
7 |
8 public class Inc implements ICard |
8 public class Inc implements ICard |
9 { |
9 { |
|
10 @Override |
|
11 public String getName() { |
|
12 return "inc"; |
|
13 } |
|
14 |
10 @Override |
15 @Override |
11 public IValue returnValue(IValue iobj, Player proponent, Player opponent) |
16 public IValue returnValue(IValue iobj, Player proponent, Player opponent) |
12 { |
17 { |
13 if(iobj instanceof Value) |
18 if(iobj instanceof Value) |
14 { |
19 { |