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/IGameMode.cs

29 lines
691 B
C#
Raw 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;
namespace CDSAE3_Lian_Lian_Kan.Forms
{
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
{
public void De_pause(object sender, EventArgs e);
public void Score_Add(object sender, AddScoreArgs e);
public void Finished_Handler(object sender, FinishArgs e);
}
}