ru.alpha.ltg.cards/src/test/java/ru/alpha/ltg/cards/Slot.java
changeset 1 191517e224e0
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ru.alpha.ltg.cards/src/test/java/ru/alpha/ltg/cards/Slot.java	Fri Jun 17 15:09:05 2011 +0400
     1.3 @@ -0,0 +1,30 @@
     1.4 +package ru.alpha.ltg.cards;
     1.5 +
     1.6 +import ru.alpha.ltg.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 +}