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 Put implements ICard |
7 public class Put implements ICard |
7 { |
8 { |
8 @Override |
9 @Override |
9 public IValue returnValue(IValue value, Slot[] slots) |
10 public IValue returnValue(IValue value, IPlayer proponent, IPlayer opponent) |
10 { |
11 { |
11 return new I(); |
12 return new ICard() |
|
13 { |
|
14 @Override |
|
15 public IValue returnValue(IValue value, IPlayer proponent, IPlayer opponent) |
|
16 { |
|
17 return value; |
|
18 } |
|
19 }; |
12 } |
20 } |
13 } |
21 } |