This repository has been archived on 2022-08-05. You can view files and clone it, but cannot push or open issues or pull requests.
LaptopSimulator2015/Base/Minigame.cs

34 lines
916 B
C#

using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace LaptopSimulator2015
{
public interface Minigame
{
string name { get; }
Image icon { get; }
int levelNumber { get; }
int gameClock { get; }
Panel desktopIcon { get; set; }
void initGame(Graphics g, Panel minigamePanel, Timer minigameTimer);
void gameTick(Graphics g, Panel minigamePanel, Timer minigameTimer, uint minigameTime);
}
public interface Level : Minigame
{
string installerText { get; }
int installerProgressSteps { get; }
}
public interface Goal : Minigame
{
int playableAfter { get; }
string[] availableText { get; }
string[] incompleteText { get; }
string[] completeText { get; }
}
}