Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp committed Apr 5, 2019
1 parent 54ecabd commit 21319dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* eslint-disable no-alert */
/* eslint-disable func-names */
import spritesImages from './sprites';
import { enemies, Enemy } from './game';
import { enemies, Enemy, OBJECT_ENEMY } from './game';

export const Game = new function () {
const boards = [];
Expand Down
2 changes: 1 addition & 1 deletion src/game.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export const enemies = {

const OBJECT_PLAYER = 1;
const OBJECT_PLAYER_PROJECTILE = 2;
const OBJECT_ENEMY = 4;
export const OBJECT_ENEMY = 4;
const OBJECT_ENEMY_PROJECTILE = 8;


Expand Down

0 comments on commit 21319dd

Please sign in to comment.