Exemplo n.º 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);
        }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }