Created a Hero class derived from AnimatedElement