Type Tiles and Type Vehicle are two unrelated types. As
the Tiles type has many more fields, not needed by the Vehicle Type, I would prefer not to extend the Vehicle type. I only need to access the TileType field of the Tiles Type from a method in the Vehicle Type to determine if an object from Type Vehicle can enter the Tile (TileType 1 is a water Tile and cannot be accessed by a vehicle object). Is this possible without extending the Type Vehicle?
the Tiles type has many more fields, not needed by the Vehicle Type, I would prefer not to extend the Vehicle type. I only need to access the TileType field of the Tiles Type from a method in the Vehicle Type to determine if an object from Type Vehicle can enter the Tile (TileType 1 is a water Tile and cannot be accessed by a vehicle object). Is this possible without extending the Type Vehicle?