src/main/java/ru/alphatech/icfpc/game/Slot.java
author indvdum
Sun, 19 Jun 2011 13:38:48 +0400
changeset 56 1ff9e4ee2b02
parent 43 4ba83edc4361
child 80 fcdce54b2f25
permissions -rw-r--r--
* merge
     1 package ru.alphatech.icfpc.game;
     2 
     3 import ru.alphatech.icfpc.cards.I;
     4 
     5 
     6 public class Slot
     7 {
     8 	private int _vitality = 10000;
     9 
    10 	private IValue _value = new I();
    11 	
    12 	public void setVitality(int vitality)
    13 	{
    14 		_vitality = vitality;
    15 	}
    16 
    17 	public int getVitality()
    18 	{
    19 		return _vitality;	
    20 	}
    21 
    22 	public IValue getValue()
    23 	{
    24 		return _value;
    25 	}
    26 
    27 	public void putValue(IValue value)
    28 	{
    29 		_value = value;
    30 	}
    31 }