예제 #1
0
        public PieSlice(Radar radar)
        {
            this.radar = radar;
            Position = radar.SensingEntity.Position;

            pieSliceDebugger = new PieSliceDebugger(this, aheadQuadrantStart,
                rightQuadrantStart);
        }
예제 #2
0
        public RadarDebugger(Radar radar)
        {
            radarDebugging = radar;

            RadarSprite = new Sprite<byte>(TextureManager.RadarCircle, Vector2.Zero, SpriteDimensions);
            RadarSprite.AddAnimationFrame(0, SpriteDimensions);
            RadarSprite.ActiveAnimation = 0;

            resetScaleUp();
        }