29 lines
691 B
C#
29 lines
691 B
C#
|
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);
|
|||
|
}
|
|||
|
}
|