using System.Numerics; using Raylib_cs; public class Program { private static void Main(string[] args) { const int windowWidth = 600; const int windowHeight = 400; const string title = "Raylib C#"; // ustawienia początkowe Raylib.InitWindow(windowWidth, windowHeight, title); Raylib.SetTargetFPS(60); var pilka = new Pileczka(new Vector2(windowWidth / 2, 10)); // pętla Gry while (!Raylib.WindowShouldClose()) { Raylib.BeginDrawing(); Raylib.ClearBackground(Raylib_cs.Color.Blue); // Raylib.DrawText("Witaj w raylib", windowWidth / 2, windowHeight / 2, 20, // Raylib_cs.Color.Yellow); pilka.Aktualizuj(); Raylib.EndDrawing(); } Raylib.CloseWindow(); } }