Package fr.formiko.kokcinelo.model
Class RedAnt
java.lang.Object
fr.formiko.kokcinelo.model.MapItem
fr.formiko.kokcinelo.model.Creature
fr.formiko.kokcinelo.model.Ant
fr.formiko.kokcinelo.model.RedAnt
Ants are creatures that figth ladybugs to protect aphids.
This type of Ant use mandibles to kill ladybugs.
- Since:
- 1.1
- Version:
- 1.3
-
Field Summary
Fields inherited from class fr.formiko.kokcinelo.model.Creature
canFly, collectedFrequency, currentSpeed, defaultMoveFrontSpeed, fliing, hearRadius, hitFrequency, hitPoints, lastCollectedTime, lastHitTime, lastRunTime, lastShootTime, lifePoints, maxLifePoints, movingSpeed, ORDER, runFrequency, shootFrequency, shootPoints, shootRadius, visionRadius, wantedRotation
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class fr.formiko.kokcinelo.model.Ant
getCreaturesFriendly, getCreaturesFriendlyWithVisibility, getCreaturesToHunt, getMaxRotationPerSecond
Methods inherited from class fr.formiko.kokcinelo.model.Creature
addScore, addTime, boost, canBeCollected, canHit, canRun, canShoot, closestCreature, die, getAllFriendlyCreature, getAllFriendlyWithVisibilityCreature, getAnimationSpeedMultiplier, getClosestVisibleCreatureToHunt, getCollectedFrequency, getCreaturesHuntedBy, getCurrentSpeed, getDefaultMoveFrontSpeed, getGivenPoints, getHearRadius, getHitPoints, getLastCollectedTime, getLifePoints, getMaxLifePoints, getMovingSpeed, getShootPoints, getShootRadius, getSpaceActionName, getSpaceActionProgress, getVisibleCreatureHuntedBy, getVisionRadius, getWallsAngles, getWantedRotation, goTo, goTo, goTo, goTo, haveCreatureHuntedBy, haveCreatureToHunt, hit, isAI, isAlive, isFriendly, isFriendlyWithVisibility, isTooCloseForStart, minorRandomRotation, moveAI, moveFront, moveFront, run, runAwayFrom, see, seeableCreatures, setCollectedFrequency, setCurrentSpeed, setDefaultMoveFrontSpeed, setHearRadius, setHitPoints, setLastCollectedTime, setLifePoints, setMaxLifePoints, setMovingSpeed, setShootPoints, setShootRadius, setVisionRadius, setWantedRotation, shoot, stayInMap, toString
Methods inherited from class fr.formiko.kokcinelo.model.MapItem
distanceTo, distanceTo, equals, getActor, getCenter, getCenterX, getCenterY, getHitRadius, getId, getRotation, getZoom, hashCode, hitBoxConnected, isInRadius, moveIn, removeActor, setCenter, setCenterX, setCenterY, setRandomLoaction, setRotation, setZoom
-
Constructor Details
-
RedAnt
public RedAnt()Create a red ant by using rigth skeleton size & color.
-