forked from infinityweaver/MiniGamesProject
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMiniGame.cs
More file actions
26 lines (23 loc) · 691 Bytes
/
Copy pathMiniGame.cs
File metadata and controls
26 lines (23 loc) · 691 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;
using System.Collections.Generic;
using System.Text;
namespace MiniGamesProject
{
class MiniGame
{
public static int MINIGAME_ID_COUNTER = 0;
public string Name { get; set; }
public int MiniGameID { get; private set; }
public DateTime DateCreated { get; private set; }
/// <summary>
/// Default MiniGame Constructor
/// </summary>
/// <param name="name">The name of the minigame object.</param>
public MiniGame(string name)
{
this.Name = name;
this.MiniGameID = MiniGame.MINIGAME_ID_COUNTER++;
this.DateCreated = DateTime.Today;
}
}
}