-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathDDrawCompatWrapper.cs
More file actions
48 lines (39 loc) · 844 Bytes
/
DDrawCompatWrapper.cs
File metadata and controls
48 lines (39 loc) · 844 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
namespace Sims1WidescreenPatcher.Core.Models;
public interface IWrapper
{
string Name { get; }
}
public class NoneWrapper : IWrapper
{
public string Name => "None";
public override string ToString()
{
return Name;
}
}
public class DDrawCompatWrapper : IWrapper
{
public DDrawCompatWrapper(string version)
{
Version = version;
}
public string Name => "DDrawCompat";
public string Version { get; }
public override string ToString()
{
return $"{Name} ({Version})";
}
}
public class DgVoodoo2Wrapper : IWrapper
{
public DgVoodoo2Wrapper(string version)
{
Version = version;
}
public string Version { get; }
public string Name => "DgVoodoo2";
public override string ToString()
{
return $"{Name} ({Version})";
}
}