Link Search Menu Expand Document

Game_CharacterBase.d overview


Table of contents


utils

Game_CharacterBase (class)

Signature

export declare class Game_CharacterBase {
  constructor()
}

initMembers (method)

Signature

initMembers(): void

pos (method)

Signature

pos(x: number, y: number): boolean

posNt (method)

Signature

posNt(x: number, y: number): boolean

moveSpeed (method)

Signature

moveSpeed(): number

setMoveSpeed (method)

Signature

setMoveSpeed(moveSpeed: number): void

moveFrequency (method)

Signature

moveFrequency(): number

setMoveFrequency (method)

Signature

setMoveFrequency(moveFrequency: number): void

opacity (method)

Signature

opacity(): number

setOpacity (method)

Signature

setOpacity(opacity: number): void

blendMode (method)

Signature

blendMode(): PIXI.BLEND_MODES

setBlendMode (method)

Signature

setBlendMode(blendMode: PIXI.BLEND_MODES): void

isNormalPriority (method)

Signature

isNormalPriority(): boolean

setPriorityType (method)

Signature

setPriorityType(priorityType: PriorityType): void

isMoving (method)

Signature

isMoving(): boolean

isJumping (method)

Signature

isJumping(): boolean

jumpHeight (method)

Signature

jumpHeight(): number

isStopping (method)

Signature

isStopping(): boolean

checkStop (method)

Signature

checkStop(threshold: number): boolean

resetStopCount (method)

Signature

resetStopCount(): void

realMoveSpeed (method)

Signature

realMoveSpeed(): number

distancePerFrame (method)

Signature

distancePerFrame(): number

isDashing (method)

Signature

isDashing(): boolean

isDebugThrough (method)

Signature

isDebugThrough(): boolean

straighten (method)

Signature

straighten(): void

reverseDir (method)

Signature

reverseDir(d: Direction): Direction

canPass (method)

Signature

canPass(x: number, y: number, d: Direction): boolean

canPassDiagonally (method)

Signature

canPassDiagonally(x: number, y: number, horz: Direction, vert: Direction): boolean

isMapPassable (method)

Signature

isMapPassable(x: number, y: number, d: Direction): boolean

isCollidedWithCharacters (method)

Signature

isCollidedWithCharacters(x: number, y: number): boolean

isCollidedWithEvents (method)

Signature

isCollidedWithEvents(x: number, y: number): boolean

isCollidedWithVehicles (method)

Signature

isCollidedWithVehicles(x: number, y: number): boolean

setPosition (method)

Signature

setPosition(x: number, y: number): void

copyPosition (method)

Signature

copyPosition(character: Game_CharacterBase): void

locate (method)

Signature

locate(x: number, y: number): void

direction (method)

Signature

direction(): Direction

setDirection (method)

Signature

setDirection(d?: Direction | 0): void

isTile (method)

Signature

isTile(): boolean

isObjectCharacter (method)

Signature

isObjectCharacter(): boolean

shiftY (method)

Signature

shiftY(): 0 | 6

scrolledX (method)

Signature

scrolledX(): number

scrolledY (method)

Signature

scrolledY(): number

screenX (method)

Signature

screenX(): number

screenY (method)

Signature

screenY(): number

screenZ (method)

Signature

screenZ(): number

isNearTheScreen (method)

Signature

isNearTheScreen(): boolean

update (method)

Signature

update(): void

updateStop (method)

Signature

updateStop(): void

updateJump (method)

Signature

updateJump(): void

updateMove (method)

Signature

updateMove(): void

updateAnimation (method)

Signature

updateAnimation(): void

animationWait (method)

Signature

animationWait(): number

updateAnimationCount (method)

Signature

updateAnimationCount(): void

updatePattern (method)

Signature

updatePattern(): void

maxPattern (method)

Signature

maxPattern(): number

pattern (method)

Signature

pattern(): number

setPattern (method)

Signature

setPattern(pattern: number): void

isOriginalPattern (method)

Signature

isOriginalPattern(): boolean

resetPattern (method)

Signature

resetPattern(): void

refreshBushDepth (method)

Signature

refreshBushDepth(): void

isOnLadder (method)

Signature

isOnLadder(): boolean

isOnBush (method)

Signature

isOnBush(): boolean

terrainTag (method)

Signature

terrainTag(): number

regionId (method)

Signature

regionId(): number

increaseSteps (method)

Signature

increaseSteps(): void

tileId (method)

Signature

tileId(): number

characterName (method)

Signature

characterName(): string

characterIndex (method)

Signature

characterIndex(): number

setImage (method)

Signature

setImage(characterName: string, characterIndex: number): void

setTileImage (method)

Signature

setTileImage(tileId: TileID): void

checkEventTriggerTouchFront (method)

Signature

checkEventTriggerTouchFront(d: Direction): void

checkEventTriggerTouch (method)

Signature

checkEventTriggerTouch(_x: number, _y: number): void

isMovementSucceeded (method)

Signature

isMovementSucceeded(_x?: number, _y?: number): boolean

setMovementSuccess (method)

Signature

setMovementSuccess(success: boolean): void

moveStraight (method)

Signature

moveStraight(d: Direction): void

moveDiagonally (method)

Signature

moveDiagonally(horz: Direction, vert: Direction): void

jump (method)

Signature

jump(xPlus: number, yPlus: number): void

hasWalkAnime (method)

Signature

hasWalkAnime(): boolean

setWalkAnime (method)

Signature

setWalkAnime(walkAnime: boolean): void

hasStepAnime (method)

Signature

hasStepAnime(): boolean

setStepAnime (method)

Signature

setStepAnime(stepAnime: boolean): void

isDirectionFixed (method)

Signature

isDirectionFixed(): boolean

setDirectionFix (method)

Signature

setDirectionFix(directionFix: boolean): void

isThrough (method)

Signature

isThrough(): boolean

setThrough (method)

Signature

setThrough(through: boolean): void

isTransparent (method)

Signature

isTransparent(): boolean

bushDepth (method)

Signature

bushDepth(): number

setTransparent (method)

Signature

setTransparent(transparent: boolean): void

startAnimation (method)

Signature

startAnimation(): void

startBalloon (method)

Signature

startBalloon(): void

isAnimationPlaying (method)

Signature

isAnimationPlaying(): boolean

isBalloonPlaying (method)

Signature

isBalloonPlaying(): boolean

endAnimation (method)

Signature

endAnimation(): void

endBalloon (method)

Signature

endBalloon(): void

_x (property)

Signature

_x: number

_y (property)

Signature

_y: number

_realX (property)

Signature

_realX: number

_realY (property)

Signature

_realY: number

_moveSpeed (property)

Signature

_moveSpeed: number

_moveFrequency (property)

Signature

_moveFrequency: number

_opacity (property)

Signature

_opacity: number

_blendMode (property)

Signature

_blendMode: any

_direction (property)

Signature

_direction: Direction

_pattern (property)

Signature

_pattern: number

_priorityType (property)

Signature

_priorityType: TextWindowBackgroundType

_tileId (property)

Signature

_tileId: number

_characterName (property)

Signature

_characterName: string

_characterIndex (property)

Signature

_characterIndex: number

_isObjectCharacter (property)

Signature

_isObjectCharacter: boolean

_walkAnime (property)

Signature

_walkAnime: boolean

_stepAnime (property)

Signature

_stepAnime: boolean

_directionFix (property)

Signature

_directionFix: boolean

_through (property)

Signature

_through: boolean

_transparent (property)

Signature

_transparent: boolean

_bushDepth (property)

Signature

_bushDepth: number

_animationId (property)

Signature

_animationId: number

_balloonId (property)

Signature

_balloonId: number

_animationPlaying (property)

Signature

_animationPlaying: boolean

_balloonPlaying (property)

Signature

_balloonPlaying: boolean

_animationCount (property)

Signature

_animationCount: number

_stopCount (property)

Signature

_stopCount: number

_jumpCount (property)

Signature

_jumpCount: number

_jumpPeak (property)

Signature

_jumpPeak: number

_movementSuccess (property)

Signature

_movementSuccess: boolean