Omnibus's picture
Upload 27 files
c679a93
raw
history blame contribute delete
255 Bytes
import Phaser from 'phaser'
export default class Player extends Phaser.GameObjects.Sprite {
constructor(scene, channelId, x, y) {
super(scene, x, y, 'player')
scene.add.existing(this)
this.channelId = channelId
this.setFrame(4)
}
}