mwg API
    Preparing search index...

    Interface GridMoverOptions

    interface GridMoverOptions {
        idleAnimation?: (direction: Direction4) => string;
        speed?: number;
        tileHeight: number;
        tileWidth: number;
        walkAnimation?: (direction: Direction4) => string;
    }
    Index
    idleAnimation?: (direction: Direction4) => string

    an animation name to play while standing still facing this direction

    speed?: number

    tiles crossed per second

    tileHeight: number
    tileWidth: number
    walkAnimation?: (direction: Direction4) => string

    an animation name to play while moving in this direction, if the sprite has one