public void AddObject(Point groundPoint, Texture2D texture, bool isVisible)
 {
     GameObject tempGameObject = new GameObject(groundPoint.ToVector2(), texture, isVisible, PhysicsType.StaticObject);
     LevelObjects.Add(tempGameObject);
 }
 public void AddTeleportObject(Point groundPoint, Point assetSize, Texture2D texture, bool isVisible, Point destination)
 {
     TeleportComponent teleComp = new TeleportComponent(texture.Width, texture.Height, destination);
     GameObject tempObject = new GameObject(groundPoint.ToVector2(), texture, isVisible, teleComp);
     tempObject.Size = assetSize;
     LevelObjects.Add(tempObject);
 }
 public void AddTrampolineObject(Point groundPoint, Point assetSize, Texture2D texture, bool isVisible, float jumpMagnifier)
 {
     TrampolineComponent trampComp = new TrampolineComponent(texture.Width, texture.Height, jumpMagnifier);
     GameObject tempObject = new GameObject(groundPoint.ToVector2(), texture, isVisible, trampComp);
     tempObject.Size = assetSize;
     LevelObjects.Add(tempObject);
 }