mr-crocs-adventures/tilorswift/js/events/TilorswiftEvent.js

23 lines
785 B
JavaScript
Raw Permalink Normal View History

2020-01-30 20:51:29 +01:00
const TilorswiftEvent = {
FIELD_CLICKED: 'fieldClicked',
FIELD_ENTERED: 'fieldEntered',
BUTTON_TILE_CLICKED: 'buttonTileClicked',
MENU_SAVE_CLICKED: 'menuSaveClicked',
MENU_OPEN_CLICKED: 'menuOpenClicked',
2020-02-09 00:29:46 +01:00
DIALOG_BUTTON_OK_CLICKED: 'dialogButtonOkClicked',
MENU_EDIT_CLICKED: 'menuEditClicked',
SAVED: 'saved',
2020-02-09 00:29:46 +01:00
WIDGET_INSERT_ROWS_CLICKED: 'widgetInsertRowsClicked',
ADD_ROWS: 'addRows',
ADD_ROWS_CLICKED: 'addRowsClicked',
ADD_COLUMNS: 'addColumns',
ADD_COLUMNS_CLICKED: 'addColumnsClicked',
2020-02-10 19:36:46 +01:00
NEW_TERRAIN: 'newTerrain',
NEW_TERRAIN_CLICKED: 'newTerrainClicked',
TILESET_SELECTED: 'tilesetSelected',
MENU_GRAVITY_CLICKED: 'menuGravityClicked',
GRAVITY_UPDATED: 'gravityUpdated',
2020-01-30 20:51:29 +01:00
};
export default TilorswiftEvent;