Discussion Board
Go to the previous messageThere are no next messages
Current Forum: Homework 2 Forum
Date: Wed Sep 19 2001 3:52 pm
Author: Liu, Limin Angela <laliu@andrew.cmu.edu>
Subject: Re: Multiple Inheritence

My guess is that when you take one element out from the Vector you have made, it is a generic Object, rather than your Room or MazeWall objects. Try casting them with (Room) or (MazeWall) and see it this will solve the problem.
Post response

Go to the previous messageThere are no next messages
Current Thread Detail:
Multiple Inheritence      Drozd, William A.      Tue Sep 18 2001 11:28 pm       
Re: Multiple Inheritence      Agarwal, Aditya      Wed Sep 19 2001 12:30 am       
Re: Multiple Inheritence      Liu, Limin Angela      Wed Sep 19 2001 3:52 pm       

Back to previous screen