Implemented inheritance between Character and Hero/Enemy