写完排行榜了

This commit is contained in:
lichx
2024-04-18 08:38:59 +08:00
parent 3e81b973e9
commit 7cf048fd7c
113 changed files with 2589 additions and 200 deletions
@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CDSAE3_Lian_Lian_Kan.Forms.Interface
{
public interface IGameControl
{
public void Selected_Handler(Single_Block sender, SelectedEventArgs e);
public void Exchange_Handler(object? sender, EventArgs e);
public void Search_Handler(object? sender, SearchEventArgs e);
}
public class SearchEventArgs : EventArgs
{
public bool set_search { get; set; } = false;//true : search
}
}
@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CDSAE3_Lian_Lian_Kan.Forms.Interface
{
public class AddScoreArgs : EventArgs
{
public int score { get; set; }
}
public class FinishArgs : EventArgs
{
public enum Finish_Type
{
All_done = 0,
Time_out = 1
}
public Finish_Type finish_Type { get; set; }
}
public interface IGameMode : IThemeChangeable
{
public void De_pause(object sender, EventArgs e);
public void Score_Add(object sender, AddScoreArgs e);
public void Finished_Handler(object sender, FinishArgs e);
}
}
@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CDSAE3_Lian_Lian_Kan.Forms
{
public interface IMenuForm:IThemeChangeable
{
public void playFormToMenu();
}
}
@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CDSAE3_Lian_Lian_Kan.Forms
{
public interface IThemeChangeable
{
public void SetTheme();
}
}