Fixed an error with the editor, and created the class to wrap game variables for the actors, including life and energy.