2024-03-22 17:03:01 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2024-04-18 08:38:59 +08:00
|
|
|
|
namespace CDSAE3_Lian_Lian_Kan.Forms.Interface
|
2024-03-22 17:03:01 +08:00
|
|
|
|
{
|
2024-04-19 10:00:37 +08:00
|
|
|
|
public class ChangeScoreArgs : EventArgs
|
2024-03-22 17:03:01 +08:00
|
|
|
|
{
|
2024-04-19 10:00:37 +08:00
|
|
|
|
public bool add { get; set; } = true; //1
|
2024-03-22 17:03:01 +08:00
|
|
|
|
public int score { get; set; }
|
|
|
|
|
}
|
2024-04-19 10:00:37 +08:00
|
|
|
|
public class GiftArgs:EventArgs
|
|
|
|
|
{
|
|
|
|
|
public enum GiftType
|
|
|
|
|
{
|
|
|
|
|
Search = 0,
|
|
|
|
|
ReMake = 1
|
|
|
|
|
}
|
|
|
|
|
public GiftType giftType { get; set; }
|
|
|
|
|
}
|
2024-04-18 08:38:59 +08:00
|
|
|
|
public class FinishArgs : EventArgs
|
2024-03-22 17:03:01 +08:00
|
|
|
|
{
|
2024-04-19 10:00:37 +08:00
|
|
|
|
public enum FinishType
|
2024-03-22 17:03:01 +08:00
|
|
|
|
{
|
|
|
|
|
All_done = 0,
|
|
|
|
|
Time_out = 1
|
|
|
|
|
}
|
2024-04-19 10:00:37 +08:00
|
|
|
|
public FinishType finishType { get; set; }
|
2024-03-22 17:03:01 +08:00
|
|
|
|
}
|
2024-04-22 13:48:40 +08:00
|
|
|
|
public interface IGameMode : IThemeChangeable,IBack
|
2024-03-22 17:03:01 +08:00
|
|
|
|
{
|
2024-04-19 10:00:37 +08:00
|
|
|
|
public void TogglePause();
|
2024-03-22 17:03:01 +08:00
|
|
|
|
public void De_pause(object sender, EventArgs e);
|
2024-04-19 10:00:37 +08:00
|
|
|
|
public void Score_Change(object sender, ChangeScoreArgs e);
|
2024-03-22 17:03:01 +08:00
|
|
|
|
public void Finished_Handler(object sender, FinishArgs e);
|
2024-04-19 10:00:37 +08:00
|
|
|
|
public void GetGift_Handler(object sender, GiftArgs e);
|
2024-03-22 17:03:01 +08:00
|
|
|
|
}
|
|
|
|
|
}
|