This repository has been archived on 2024-06-21. You can view files and clone it, but cannot push or open issues or pull requests.
CDSAE3/CDSAE3_Lian_Lian_Kan/Forms/Interface/IGameMode.cs

41 lines
1.0 KiB
C#
Raw Permalink Normal View History

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