// September 2015 // Levee Patroller / Dijk Patrouille // This source file is (c) by Deltares. This source file is open source but only available to select users. Do not redistribute without written permission of Stichting Deltares, Delft, The Netherlands. // This header has been automatically generated. //============================================================================= // Object that displays the scoring for the player // ------------------------------------------------------------ // Created by Rui Guimaraes // © 2006, Geodelft // //============================================================================= class MenuTrainingScore extends MenuScore; //============================================================================= // Date Id Modification // 2006-09-04 The Created //============================================================================= function bool InternalOnClick(GUIComponent Sender) { local int i; for(i = 0; i < Controls.Length; i++) { if(Sender == Controls[i]) { switch(i) { case 1: Controller.ReplaceMenu("GeoSimulator.MenuTrainingInventory"); break; case 2: //HELP Controller.ReplaceMenu("GeoSimulator.HelpMenuTrainingScore"); break; case 3: Controller.OpenMenu("GeoInterface.NotAvailable"); break; case 4: Controller.ReplaceMenu("GeoSimulator.MenuTrainingInventory"); break; } } } return true; } //============================================================================= // Comment: Named constants cannot be used in defaultproperties!! // // Date Id Modification // 2006-09-04 The Created //============================================================================= defaultproperties { }