ru.alpha.ltg.cards/src/test/java/ru/alpha/ltg/cards/K.java
changeset 4 6b4afd8720b8
parent 3 b4cd95c95403
equal deleted inserted replaced
3:b4cd95c95403 4:6b4afd8720b8
     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 	}