// 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
// 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
// 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
// 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