Last active
July 13, 2017 06:22
-
-
Save reggie3/c9b3bcd4c28026516d6bad8852e0388f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const monster1 = require('../assets/sprites/monster/monster_walk01.png') | |
const monster2 = require('../assets/sprites/monster/monster_walk02.png') | |
const monster3 = require('../assets/sprites/monster/monster_walk03.png') | |
class LocationMarker extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
imageCounter: 0, | |
sprites: [monster1, monster2, monster3], | |
loopSpeed: 1000 | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment