Python SDK demo
This commit is contained in:
@ -28,6 +28,13 @@ class PositionError extends Error {
|
||||
}
|
||||
}
|
||||
|
||||
const Direction = {
|
||||
LEFT: "left",
|
||||
RIGHT: "right",
|
||||
UP: "up",
|
||||
DOWN: "down",
|
||||
};
|
||||
|
||||
class FairHopper {
|
||||
constructor(host, port) {
|
||||
this.host = host;
|
||||
@ -121,4 +128,5 @@ module.exports = {
|
||||
PlayerNotFoundError,
|
||||
PlayerInactiveError,
|
||||
PositionError,
|
||||
Direction,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user