Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
gameobjects.characters.AbstractCharacterSprite

Packages that use AbstractCharacterSprite
gameaction |
gameobjects.characters |
location |
path |
speech |

Uses of AbstractCharacterSprite in gameaction

Methods in gameaction that return AbstractCharacterSprite
`AbstractCharacterSprite` | `AbstractGameAction.getCharacter()` Returns the character that performs the game action

Methods in gameaction with parameters of type AbstractCharacterSprite
`void` | `Talk.say(AbstractCharacterSprite c, java.lang.String line)` Lets the character say a sentence.
`void` | `Talk.say(AbstractCharacterSprite c, java.lang.String[] lines)` Deprecated. do not use this method anymore
`void` | `Talk.say(AbstractCharacterSprite c, java.lang.String line, java.awt.Color color)` Lets the character say a sentence with the specified color.
`void` | `Talk.say(AbstractCharacterSprite c, java.lang.String line, java.awt.Color color, int time)` Lets the character say a sentence with the specified color
`void` | `Talk.say(AbstractCharacterSprite c, java.lang.String line, int time)` Lets the character say a sentence
`void` | `Talk.say(AbstractCharacterSprite c, java.lang.String line, java.lang.String soundPath)` Lets the character say a sentence with the specified sound file
`void` | `Talk.say(AbstractCharacterSprite c, java.lang.String line, java.lang.String soundPath, java.awt.Color color)` Lets the character say a sentence with the specified color and specified sound file

Constructors in gameaction with parameters of type AbstractCharacterSprite
`AbstractGameAction(AbstractCharacterSprite c)` Creates a new game action
`ChangeHotspotImage(AbstractCharacterSprite c, InteractiveHotspot ihs, java.lang.String imgPath)`
`CutSceneStart(AbstractCharacterSprite c, GameLocation location)` Creates a new cutscene start game action
`CutSceneStart(AbstractCharacterSprite c, GameLocation location, java.lang.String musicPath)` Creates a new cutscene start game action considering a special background music during cutscene
`CutSceneStop(AbstractCharacterSprite c, GameLocation location)`
`Delay(AbstractCharacterSprite c, long duration)`
`GameActionScheduler(AbstractCharacterSprite c)` Creates a new game action scheduler with the specified character as the owner.
`Leave(AbstractCharacterSprite c, LocationExit exit)`
`PlaySound(AbstractCharacterSprite c, java.lang.String filePath)` Creates a new game action to play a sound
`RunAnimation(AbstractCharacterSprite c, java.lang.String animImgPath, int rows, int picsPerRow)` Creates a new game action for running an animation
`RunAnimation(AbstractCharacterSprite c, java.lang.String animImgPath, int rows, int picsPerRow, int numRepeats)` Creates a new game action for running an animation
`ShowIntermissionScreen(AbstractCharacterSprite c, java.lang.String imgPath, long duration)`
`Talk(AbstractCharacterSprite c, boolean isBranch)` Creates a new Talk action
`Talk(AbstractCharacterSprite c, boolean isBranch, boolean aborter)` Creates a new Talk action
`Use(AbstractCharacterSprite c, Hotspot hot, Item item)`
`Walk(AbstractCharacterSprite c, int goToX, int goToY)` Creates a new walking event with the specified coordinates that provide the target location of the walking event
`Walk(AbstractCharacterSprite c, Path path)` Creates a new walking event with the specified coordinates that provide the target location of the walking event

Uses of AbstractCharacterSprite in gameobjects.characters

Subclasses of AbstractCharacterSprite in gameobjects.characters
`class` | `NPCSprite` This class is the base class of all non player characters.
`class` | `Player` This class represents the main character sprite of the game.

Uses of AbstractCharacterSprite in location

Methods in location with parameters of type AbstractCharacterSprite
`boolean` | `LocationExit.isInRange(AbstractCharacterSprite character)` Determines whether the exit is in range for a character
`void` | `LocationExit.use(AbstractCharacterSprite character)` Call this method to signal that the character wants to make a transition from this exit's start location to its destination location.

Uses of AbstractCharacterSprite in path

Methods in path with parameters of type AbstractCharacterSprite
`static void` | `PathFinder.addPath(AbstractCharacterSprite c, SearchGrid grid, double x, double y, com.golden.gamedev.engine.BaseInput bsInput)` Finds a list of Walk game actions that represents a path from the characters current position to its destionation coordinates and adds it to the specified characters game action queue
`static java.util.List<AbstractGameAction>` | `PathFinder.getPath(AbstractCharacterSprite c, java.awt.image.BufferedImage imgWalkableArea, double x, double y)` Deprecated. do nut use this method any more
`static java.util.List<AbstractGameAction>` | `PathFinder.getPath(AbstractCharacterSprite c, SearchGrid grid, double x, double y, com.golden.gamedev.engine.BaseInput bsInput)` Returns a list of Walk game actions that represents a path from the characters current position to its destionation coordinates

Uses of AbstractCharacterSprite in speech

Methods in speech that return AbstractCharacterSprite
`AbstractCharacterSprite` | `Sentence.getRelatedCharacter()` Returns the character related to the sentence, i.e. the character that is speaking the sentence

Constructors in speech with parameters of type AbstractCharacterSprite
`Sentence(AbstractCharacterSprite character, java.lang.String line, int lineWidth, java.awt.Color color, int time)` Creates a new sentence with the specified parameters
`Sentence(AbstractCharacterSprite character, java.lang.String line, int lineWidth, java.lang.String soundPath, java.awt.Color color)` Creates a new sentence with the specified parameters

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES