cz.cuni.amis.pogamut.defcon.ai.buildingai
Class AbstractBuildingAI<T extends DefConUnitObject<?>>
java.lang.Object
cz.cuni.amis.pogamut.defcon.ai.AbstractAI
cz.cuni.amis.pogamut.defcon.ai.buildingai.AbstractBuildingAI<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
- IBuildingAI, IUnitAI
public abstract class AbstractBuildingAI<T extends DefConUnitObject<?>>
- extends AbstractAI
- implements IBuildingAI
Implements common features for buildings.
- Author:
- Radek 'Black_Hand' Pibil
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
building
protected final T extends DefConUnitObject<?> building
nukes
protected int nukes
AbstractBuildingAI
public AbstractBuildingAI(T building,
DefConAgentLogicController<?> logic)
hasSpareNukes
protected boolean hasSpareNukes()
getLocation
public DefConLocation getLocation()
- Description copied from interface:
IUnitAI
- Retrieves location of the controlled object.
- Specified by:
getLocation
in interface IUnitAI
- Returns:
- location
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.