写完排行榜了
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user