-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathLingoGlobal.Movie.cs
50 lines (37 loc) · 1.18 KB
/
LingoGlobal.Movie.cs
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
49
50
using System;
using System.Dynamic;
namespace Drizzle.Lingo.Runtime;
public sealed partial class LingoGlobal
{
public Movie _movie { get; private set; } = default!;
public void go(LingoNumber frame) => _movie.go(frame);
public LingoNumber the_frame => _movie.frame;
public sealed class Movie
{
private readonly LingoGlobal _global;
public Window window { get; }
public Movie(LingoGlobal global)
{
_global = global;
window = new Window(global);
}
public LingoNumber frame => 0;
public string path => _global.the_moviePath;
public dynamic stage => throw new NotImplementedException();
public void go(LingoNumber newFrame)
{
// score not implemented.
}
}
public sealed class Window
{
public Window(LingoGlobal lingoGlobal)
{
}
// Literally unused except for one set, just return it.
public dynamic appearanceoptions => new ExpandoObject();
public LingoNumber resizable { get; set; }
public LingoRect rect { get; set; }
public LingoSymbol sizestate => new ("normal");
}
}