Ignore:
Timestamp:
2014-07-03 21:24:16 (5 years ago)
Author:
mijoilmo
Message:

Optimoitu levelin kopioimista. Lisätty basic !space leveli

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2014/27/AleksanteriV/Protokolla236TrueSurvivor/Protokolla236TrueSurvivor/Protokolla236TrueSurvivor/Hud.cs

    r5386 r5395  
    1111    private Player boundPlayer; 
    1212    private Radar radar; 
    13     public Hud(Proto236b parent) : base(parent.GameScreen.Width,parent.GameScreen.Height) 
     13    public Hud(Proto236b parent) 
     14        : base(parent.GameScreen.Width / parent.Camera.ZoomFactor, parent.GameScreen.Height / parent.Camera.ZoomFactor) 
    1415    { 
    1516        this.boundPlayer = parent.Player; 
     17        this.IsUpdated = true; 
    1618        this.IsVisible = false; 
    17         this.IsUpdated = true; 
    1819        boundPlayer.Add(this); 
    1920 
    2021        radar = new Radar(parent); 
    21         radar.Bottom = this.Bottom + 20; 
     22        radar.Bottom = this.Bottom + 20 / parent.Camera.ZoomFactor; 
    2223        Add(radar); 
    2324    } 
Note: See TracChangeset for help on using the changeset viewer.