-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathExampleWindowInfo.cs
More file actions
25 lines (22 loc) · 849 Bytes
/
ExampleWindowInfo.cs
File metadata and controls
25 lines (22 loc) · 849 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
// Created by Ron 'Maxwolf' McDowell ([email protected])
// Timestamp 01/07/2016@7:28 PM
using System;
using WolfCurses.Window;
namespace WolfCurses.Example
{
/// <summary>
/// Windows can have a class with any specific data or classes required for the window to function.
/// </summary>
public sealed class ExampleWindowInfo : WindowData
{
/// <summary>
/// Holds the name of the player so we can reference it on another form.
/// </summary>
public string PlayerName { get; set; }
/// <summary>
/// Shows example of using the user data class to generate a piece of data that can be shown on the main interface and
/// accessed from form or window.
/// </summary>
public string ExampleUserData => $"Time: {DateTime.Now}";
}
}