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. |
|