trying to add typedefs to make code simpler for animation and images for monsters; perhaps making it worse