Automata class that extends Phaser.Sprite