You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
519 B
25 lines
519 B
export const MODE_ACTION = 'MODE_ACTION';
|
|
export const WELCOME = 'MODE_WELCOME';
|
|
export const OPTIONS = 'MODE_OPTIONS';
|
|
export const HIGHSCORE = 'MODE_HIGH_SCORE';
|
|
export const BOARD = 'MODE_BOARD';
|
|
|
|
export const welcome = () => ({
|
|
type: MODE_ACTION,
|
|
action: WELCOME
|
|
});
|
|
|
|
export const options = () => ({
|
|
type: MODE_ACTION,
|
|
action: OPTIONS
|
|
});
|
|
|
|
export const highscore = () => ({
|
|
type: MODE_ACTION,
|
|
action: HIGHSCORE
|
|
});
|
|
|
|
export const board = () => ({
|
|
type: MODE_ACTION,
|
|
action: BOARD
|
|
});
|
|
|