public Ship(int startX, int startY, int MinWidth, int MaxWidth, Meteors meteorsIn) { meteors = meteorsIn; x = startX; y = startY; lunarModule(-500, -500); maxWidth = MaxWidth - (int)(lunarModuleTexture.width * 0.25f); minWidth = MinWidth; DisplayShip(); }
public void StartGame() { meteors = new Meteors(Raylib.GetScreenWidth() - 100, Raylib.GetScreenHeight() - 100); ship = new Ship(100, 375, 50, 750, meteors); }