22 package com.realtime.crossfire.jxclient.server.crossfire;
25 import java.util.EventListener;
26 import org.jetbrains.annotations.NotNull;
39 void newMap(
int mapWidth,
int mapHeight);
106 void magicMap(
int x,
int y, byte[][] data);
119 void addAnimation(
int animation,
int flags, @NotNull
int[] faces);
void addAnimation(int animation, int flags, @NotNull int[] faces)
An "addanim" command has been received.
Implements the map model which is shown in the map and magic map views.
void mapEnd()
Parsing of "map2" has been finished.
void mapScroll(int dx, int dy)
Part of "map2" parsing: scroll the map view.
void mapAnimationSpeed(@NotNull Location location, int animationSpeed)
Part of "map2" parsing: set the animation speed.
void magicMap(int x, int y, byte[][] data)
Part of "magicmap" parsing: set the magic map color.
Object mapBegin()
Parsing of a "map2" command has been started.
void mapFace(@NotNull Location location, int faceNum)
Part of "map2" parsing: set the face of a cell.
void mapAnimation(@NotNull Location location, int animationNum, int animationType)
Part of "map2" parsing: set the animation of a cell.
void mapSmooth(@NotNull Location location, int smooth)
Part of "map2" parsing: set the smooth level.
void mapClear(int x, int y)
Part of "map2" parsing: clear a cell.
Interface for listeners interested in map related commands.
void newMap(int mapWidth, int mapHeight)
A "newmap" command has been received.
void mapDarkness(int x, int y, int darkness)
Part of "map2" parsing: change the darkness of a cell.