public World(LevelBuilder tm, Marimo marimo) { ScreenBoundry = new Rectangle(-80, -80, 416, 416); this.marimo = marimo; levelBuilder = tm; gameObjects = new List<GameObject>(); gameObjectsToAdd = new List<GameObject>(); tiles = new List<BackgroundTile>(); tilesToAdd = new List<BackgroundTile>(); movingGameObjects = new List<MovingGameObject>(); movingGameObjectsToAdd = new List<MovingGameObject>(); camera = new Camera(marimo); AddObject(marimo); }
public static bool IsStarMario(Marimo mario) { if (mario.IsStar) return true; return false; }