// it and is standing in front of it.
void addPlatform(float x,float y,float w,float h); // Dynamically adds a platform to the platform array. These will be automatically
// drawn and handled by the world.
+ void addHole(unsigned int start,unsigned int end); // Create a hole in the world
};
/*
test->addLayer(400);
test->addLayer(100);
test->addPlatform(150,100,100,10);
+ test->addHole(100,150);
currentWorld=test;
IndoorWorld *iw=new IndoorWorld();
return this;
}
+void World::addHole(unsigned int start,unsigned int end){
+ unsigned int i;
+ for(i=start;i<end;i++){
+ line[i].y=0;
+ }
+}
+
IndoorWorld::IndoorWorld(void){