equal
deleted
inserted
replaced
1 package ru.alpha.ltg.cards; |
1 package ru.alpha.ltg.cards; |
2 |
2 |
3 import ru.alpha.ltg.cards.api.ICard; |
3 import ru.alpha.ltg.cards.api.ICard; |
|
4 import ru.alpha.ltg.cards.api.IPlayer; |
4 import ru.alpha.ltg.cards.api.IValue; |
5 import ru.alpha.ltg.cards.api.IValue; |
5 |
6 |
6 public class K implements ICard |
7 public class K implements ICard |
7 { |
8 { |
8 |
9 |
9 @Override |
10 @Override |
10 public IValue returnValue(IValue value, Slot[] slots) |
11 public IValue returnValue(IValue value, IPlayer proponent, IPlayer opponent) |
11 { |
12 { |
12 return new ICard() |
13 return new ICard() |
13 { |
14 { |
14 public IValue returnValue(IValue value, Slot[] slots) |
15 public IValue returnValue(IValue value, IPlayer proponent, IPlayer opponent) |
15 { |
16 { |
16 return value; |
17 return value; |
17 } |
18 } |
18 }; |
19 }; |
19 } |
20 } |