1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/src/main/java/ru/alphatech/icfpc/game/Slot.java Sat Jun 18 11:32:53 2011 +0400
1.3 @@ -0,0 +1,30 @@
1.4 +package ru.alphatech.icfpc.game;
1.5 +
1.6 +import ru.alphatech.icfpc.cards.api.IValue;
1.7 +
1.8 +public class Slot
1.9 +{
1.10 + private int _vitality = 10000;
1.11 +
1.12 + private IValue _value = null;
1.13 +
1.14 + public void setVitality(int vitality)
1.15 + {
1.16 + _vitality = vitality;
1.17 + }
1.18 +
1.19 + public int getVitality()
1.20 + {
1.21 + return _vitality;
1.22 + }
1.23 +
1.24 + public IValue getValue()
1.25 + {
1.26 + return _value;
1.27 + }
1.28 +
1.29 + public void putValue(IValue value)
1.30 + {
1.31 + _value = value;
1.32 + }
1.33 +}