Esempio n. 1
0
        // c'tor
        public PaintTool()
        {
            HelpOverlayID           = @"MouseEditTerrainPaint";
            HelpOverlayMagicBrushID = @"MouseEditTerrainPaintMagicBrush";

            RightAudioStart  = delegate() { Foley.PlayEarthUp(); };
            MiddleAudioStart = delegate() { Foley.PlayPaint(); };
            LeftAudioStart   = delegate() { Foley.PlayEraseLand(); };
            RightAudioEnd    = delegate() { Foley.StopEarthUp(); };
            MiddleAudioEnd   = delegate() { Foley.StopPaint(); };
            LeftAudioEnd     = delegate() { Foley.StopEraseLand(); };
        }   // end of c'tor
Esempio n. 2
0
        // c'tor
        public SmoothLevelTool()
        {
            HelpOverlayID      = null;
            HelpOverlayStartID = @"SmoothLevelStart";
            HelpOverlayGoingID = @"SmoothLevelGoing";

            RightAudioStart  = delegate() { Foley.PlayEarthUp(); };
            MiddleAudioStart = delegate() { Foley.PlayPaint(); };
            LeftAudioStart   = delegate() { Foley.PlayEraseLand(); };
            RightAudioEnd    = delegate() { Foley.StopEarthUp(); };
            MiddleAudioEnd   = delegate() { Foley.StopPaint(); };
            LeftAudioEnd     = delegate() { Foley.StopEraseLand(); };
        }   // end of c'tor
Esempio n. 3
0
        // c'tor
        public AddTool()
        {
            Description             = Strings.Localize("tools.addTool");
            HelpOverlayID           = @"AddTool";
            HelpOverlayMagicBrushID = @"AddToolMagicBrush";
            HelpOverlayStartID      = @"AddToolStart";
            HelpOverlayGoingID      = @"AddToolGoing";
            IconTextureName         = @"\UI2D\Tools\AddTool";

            RightAudioStart  = delegate() { Foley.PlayEarthUp(); };
            MiddleAudioStart = delegate() { Foley.PlayPaint(); };
            LeftAudioStart   = delegate() { Foley.PlayEraseLand(); };
            RightAudioEnd    = delegate() { Foley.StopEarthUp(); };
            MiddleAudioEnd   = delegate() { Foley.StopPaint(); };
            LeftAudioEnd     = delegate() { Foley.StopEraseLand(); };
        }   // end of c'tor