// c'tor public RaiseLowerTool() { HelpOverlayID = null; HelpOverlayStartID = @"RaiseLowerStart"; HelpOverlayGoingID = @"RaiseLowerGoing"; RightAudioStart = delegate() { Foley.PlayEarthUp(); }; MiddleAudioStart = delegate() { Foley.PlayPaint(); }; LeftAudioStart = delegate() { Foley.PlayEarthDown(); }; RightAudioEnd = delegate() { Foley.StopEarthUp(); }; MiddleAudioEnd = delegate() { Foley.StopPaint(); }; LeftAudioEnd = delegate() { Foley.StopEarthDown(); }; } // end of c'tor
// c'tor public RoadLevelTool() { Description = Strings.Localize("tools.levelTool"); HelpOverlayID = @"LevelTool"; HelpOverlayStartID = @"LevelToolStart"; HelpOverlayGoingID = @"LevelToolGoing"; IconTextureName = @"\UI2D\Tools\MinMaxTool"; RightAudioStart = delegate() { Foley.PlayEarthUp(); }; MiddleAudioStart = delegate() { Foley.PlayEarthDown(); }; LeftAudioStart = delegate() { Foley.PlayPaint(); }; RightAudioEnd = delegate() { Foley.StopEarthUp(); }; MiddleAudioEnd = delegate() { Foley.StopEarthDown(); }; LeftAudioEnd = delegate() { Foley.StopPaint(); }; } // end of c'tor