Exemplo n.º 1
0
        protected override void OpenUIFormSuccessHandler(object sender, GameEventArgs e)
        {
            base.OpenUIFormSuccessHandler(sender, e);
            var args = (OpenUIFormSuccessEventArgs)e;

            if (args.UIForm.Logic as KnapsackForm)
            {
                m_KnapsackForm = (KnapsackForm)args.UIForm.Logic;
            }
        }
Exemplo n.º 2
0
 public override void Dispose()
 {
     base.Dispose();
     m_KnapsackForm = null;
 }