Beispiel #1
0
        public void DrawObject(ObjectOnDisplay obj, OpenGL gl)
        {
            ShipTexturesHelper.GetShipTexture(gl, ((MapEnemy)obj.GameObject).Data.ShipName).Bind(gl);
            var size = new Size(80, 80);

            DrawHelper.Draw(obj, gl, size, ((MapEnemy)obj.GameObject).Angle);
        }
Beispiel #2
0
 public void DrawObject(ObjectOnDisplay obj, OpenGL gl)
 {
     ShipTexturesHelper.GetShipTexture(gl, ((Player)obj.GameObject).Data.ShipName).Bind(gl);
     DrawHelper.Draw(obj, gl, obj.GameObject.Size, ((Player)obj.GameObject).Angle);
 }
Beispiel #3
0
 public void DrawObject(ObjectOnDisplay obj, OpenGL gl)
 {
     ShipTexturesHelper.GetShipTexture(gl, ((BattleEnemy)obj.GameObject).Data.ShipName).Bind(gl);
     DrawHelper.Draw(obj, gl, new Size(100, 110), ((BattleEnemy)obj.GameObject).Angle);
 }