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#

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 ChangeScoreArgs : EventArgs
{
public bool add { get; set; } = true; //1
public int score { get; set; }
}
public class GiftArgs:EventArgs
{
public enum GiftType
{
Search = 0,
ReMake = 1
}
public GiftType giftType { get; set; }
}
public class FinishArgs : EventArgs
{
public enum FinishType
{
All_done = 0,
Time_out = 1
}
public FinishType finishType { get; set; }
}
public interface IGameMode : IThemeChangeable,IBack
{
public void TogglePause();
public void De_pause(object sender, EventArgs e);
public void Score_Change(object sender, ChangeScoreArgs e);
public void Finished_Handler(object sender, FinishArgs e);
public void GetGift_Handler(object sender, GiftArgs e);
}
}