src/main/java/ru/alphatech/icfpc/game/Slot.java
author Azamat S. Kalimoulline <turtle@bazon.ru>
Sat, 18 Jun 2011 11:37:01 +0400
changeset 12 042162c73d0f
parent 11 33269feb0642
child 43 4ba83edc4361
permissions -rw-r--r--
Refactoring.
     1 package ru.alphatech.icfpc.game;
     2 
     3 
     4 public class Slot
     5 {
     6 	private int _vitality = 10000;
     7 
     8 	private IValue _value = null;
     9 
    10 	public void setVitality(int vitality)
    11 	{
    12 		_vitality = vitality;
    13 	}
    14 
    15 	public int getVitality()
    16 	{
    17 		return _vitality;	
    18 	}
    19 
    20 	public IValue getValue()
    21 	{
    22 		return _value;
    23 	}
    24 
    25 	public void putValue(IValue value)
    26 	{
    27 		_value = value;
    28 	}
    29 }