public virtual void Wyswietlanie(CORE core) { core.DrawSpriteEx(tekstura, new SDL.SDL_Rect() { x = 0, y = 0, w = 128, h = 128 }, new SDL.SDL_Rect() { x = (int)x, y = (int)y, w = (int)w, h = (int)h }, kont, w, h); }
public void Wyswietlanie(CORE core, Samolot gracz) { x = gracz.x; y = gracz.y; kont = gracz.kont; vx = gracz.silnik; core.DrawSpriteEx(tekstura, new SDL.SDL_Rect() { x = 0, y = 0, w = 128, h = 128 }, new SDL.SDL_Rect() { x = (int)x, y = (int)y, w = (int)w, h = (int)h }, kont, w, h); }
public override void Wyswietlanie(CORE myCore) { myCore.DrawSpriteEx(tekstura, new SDL_Rect() { x = 0, y = 0, w = 128, h = 128 }, new SDL_Rect() { x = (int)x, y = (int)y, w = (int)w, h = (int)h }, kont, w, h); bron.Wyswietlanie(myCore, this); for (int i = 0; i < wystrzelone.Count; i++) { wystrzelone[i].Wyswietlanie(myCore); } Sterowanie(myCore); Strzelanie(myCore); }