public abstract class BasicThinkerObject extends ThinkerObject<CellGame,BasicSpaceState,BasicSpaceThinker>
A BasicThinkerObject is a type of ThinkerObject that mimics a BasicSpaceThinker, which has no special capabilities. It does not automatically share any custom fields or methods between itself and its SpaceStates or their CellGames.
| Constructor and Description | 
|---|
| BasicThinkerObject()Constructs a BasicThinkerObject with an assigned BasicSpaceThinker whose
 Actions() methods call the BasicThinkerObject's own. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addedActions(CellGame game,
            BasicSpaceState state)Actions for this BasicThinkerObject to take immediately after being added
 to a new BasicSpaceState. | 
| void | addSubThinkerActions(CellGame game,
                    BasicSpaceState state,
                    BasicSpaceThinker subThinker)Actions for this BasicThinkerObject to take immediately after adding a
 BasicSpaceThinker to itself, before the added BasicSpaceThinker takes its
 addedActions(). | 
| void | beforeMovementActions(CellGame game,
                     BasicSpaceState state)Actions for this BasicThinkerObject to take once each frame, after all
 Thinkers have experienced all of their time units for that frame, but
 before its BasicSpaceState moves its assigned MobileObjects. | 
| void | frameActions(CellGame game,
            BasicSpaceState state)Actions for this BasicThinkerObject to take once each frame after its
 BasicSpaceState moves its assigned MobileObjects. | 
| void | removedActions(CellGame game,
              BasicSpaceState state)Actions for this BasicThinkerObject to take immediately before being
 removed from its current BasicSpaceState. | 
| void | removeSubThinkerActions(CellGame game,
                       BasicSpaceState state,
                       BasicSpaceThinker subThinker)Actions for this BasicThinkerObject to take immediately before removing a
 BasicSpaceThinker from itself, after the soon-to-be-removed
 BasicSpaceThinker takes its removedActions(). | 
addSubThinker, clearLineages, clearSubThinkers, getBeforeMovementEvents, getBeforeMovementPriority, getFrameEvents, getFramePriority, getGameClass, getNumSubThinkers, getStateClass, getSubThinkerClass, getThinker, getTimerValue, iteratingThroughSubThinkers, removeLineage, removeSubThinker, setBeforeMovementPriority, setFramePriority, setThinker, setTimerValue, subThinkerIteratoraddFollower, changePosition, changePosition, changeStep, changeStep, changeStepX, changeStepY, changeX, changeY, clearFollowers, collide, collided, collided, doMovement, doMovement, getAbsPressingAngle, getCollisionDirections, getCollisionHitbox, getCollisions, getDisplacement, getDisplacementLength, getDisplacementX, getDisplacementY, getFollowers, getLeader, getMovementPriority, getNewMovementPriority, getNumFollowers, getRelPressingAngle, getSpeed, getStep, getStepLength, getStepX, getStepY, getVelocity, getVelocityX, getVelocityY, hasCollision, isPressingIn, moveToward, moveToward, removeFollower, setCollision, setCollisionHitbox, setGameState, setLeader, setMovementPriority, setPosition, setPosition, setRelPressingAngle, setRelPressingAngle, setSpeed, setStep, setStep, setStepLength, setStepX, setStepY, setVelocity, setVelocity, setVelocityX, setVelocityY, setX, setY, solidBoundingBoxesMeetaddAnimInstance, addAnimInstance, angleTo, boundingBoxesMeet, changeAngle, changePosition, changePosition, changeX, changeY, clearAnimInstances, distanceTo, draw, flipX, flipY, getAlpha, getAngle, getAngleX, getAngleY, getAnimation, getAnimation, getAnimInstance, getAnimInstance, getAppearance, getBottomEdge, getCenter, getCenterOffset, getCenterOffsetX, getCenterOffsetY, getCenterX, getCenterY, getDrawPriority, getEffectiveTimeFactor, getFilter, getGame, getGameState, getHeight, getLeftEdge, getLocatorHitbox, getNewGameState, getNumAnimInstances, getOverlapHitbox, getPosition, getRightEdge, getSolidHitbox, getTimeFactor, getTopEdge, getWidth, getX, getXFlip, getXSign, getY, getYFlip, getYSign, intersectingSolidObject, intersectingSolidObjects, isIntersectingSolidObject, isOverlappingObject, isSolid, isVisible, isVisible, nearestObject, nearestObjectWithinCircle, nearestObjectWithinCircle, nearestObjectWithinRadius, nearestObjectWithinRectangle, nearestOverlappingObject, objectIsWithinRadius, objectsWithinRadius, objectWithinRadius, overlap, overlappingObject, overlappingObjects, overlaps, removeAnimInstance, setAlpha, setAngle, setAnimation, setAnimation, setAnimInstance, setAnimInstance, setAppearance, setCenterOffset, setCenterOffset, setCenterOffsetX, setCenterOffsetY, setDrawPriority, setFilter, setGameState, setLocatorHitbox, setOverlapHitbox, setPosition, setPosition, setSolid, setSolidHitbox, setSurfaceSolid, setTimeFactor, setX, setXFlip, setY, setYFlip, surfaceIsSolidpublic BasicThinkerObject()
public void frameActions(CellGame game, BasicSpaceState state)
game - This BasicThinkerObject's BasicSpaceState's CellGamestate - This BasicThinkerObject's BasicSpaceStatepublic void addSubThinkerActions(CellGame game, BasicSpaceState state, BasicSpaceThinker subThinker)
game - This BasicThinkerObject's BasicSpaceState's CellGame, or null
 if it has no BasicSpaceStatestate - This BasicThinkerObject's BasicSpaceState, or null if it has
 nonesubThinker - The BasicSpaceThinker that was addedpublic void removeSubThinkerActions(CellGame game, BasicSpaceState state, BasicSpaceThinker subThinker)
game - This BasicThinkerObject's BasicSpaceState's CellGame, or null
 if it has no BasicSpaceStatestate - This BasicThinkerObject's BasicSpaceState, or null if it has
 nonesubThinker - The BasicSpaceThinker that is about to be removedpublic void addedActions(CellGame game, BasicSpaceState state)
game - This BasicThinkerObject's BasicSpaceState's CellGamestate - This BasicThinkerObject's BasicSpaceStatepublic void removedActions(CellGame game, BasicSpaceState state)
game - This BasicThinkerObject's BasicSpaceState's CellGamestate - This BasicThinkerObject's BasicSpaceStatepublic void beforeMovementActions(CellGame game, BasicSpaceState state)
game - This BasicThinkerObject's BasicSpaceState's CellGamestate - This BasicThinkerObject's BasicSpaceState