Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //This is in my initialize function. The screenContainer is declared at class scope
- //The problem is I need to remove it from the ShapeCollection but keep it in the ShapeManager... this is why it isnt showing correctly
- levelPolies = FlatRedBallServices.Load<ShapeCollection>(@"Content/LevelData/TestLevel",this.ContentManagerName);
- screenContainer = ShapeManager.AddAxisAlignedRectangle((AxisAlignedRectangle)levelPolies.FindByName("LevelBounds"));
- ShapeManager.Remove((AxisAlignedRectangle)levelPolies.FindByName("LevelBounds"));
- levelPolies.AddToManagers();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement