Original Post
I have a sprite collision manager that stores references to all sprites and detects any collisions by calling 'public Sprite checkCollision()' from the sprite, which returns a reference to any sprite you have collided with. This all works fine but i need to access the inherited classes of Sprite. For example I have a Vehicle class that inherits Sprite and when it collides with another Vehicle i need to get access to the Vehicle.getCollisionDamage() method but all I have is the base Sprite class. Is there any way of accessing an objects methods from its base class? Thanks in advanced.