This repository has been archived on 2023-11-14. You can view files and clone it, but cannot push or open issues/pull-requests.
2021-05-09 19:42:03 -04:00
|
|
|
singleton;
|
2021-05-08 23:06:31 -04:00
|
|
|
|
2021-05-21 01:04:38 -04:00
|
|
|
link counter;
|
|
|
|
|
link window;
|
2021-05-08 23:06:31 -04:00
|
|
|
|
2021-05-12 00:15:53 -04:00
|
|
|
async restore {
|
2021-05-21 01:04:38 -04:00
|
|
|
// process.stdout.write(typeof console._link + '\n');
|
2021-05-17 18:37:55 -04:00
|
|
|
console.log('~ Welcome to Vogue ~');
|
|
|
|
|
// process.stdout.write(JSON.stringify(console, null, 2))
|
2021-05-21 01:04:38 -04:00
|
|
|
counter ??= create('counter', {});
|
|
|
|
|
for(let i = 0; i < 10; i ++)
|
|
|
|
|
counter.increment();
|
2021-05-18 07:56:57 -04:00
|
|
|
// const choice = await console.choice('select a thing', ['a', 'b', 'c', 'd']);
|
|
|
|
|
|
2021-05-21 01:04:38 -04:00
|
|
|
console.log(counter.getCount());
|
|
|
|
|
|
|
|
|
|
// window ??= create('SDL.window', {});
|
|
|
|
|
|
|
|
|
|
// window.setScene()
|
|
|
|
|
|
|
|
|
|
// await counter.render();
|
2021-05-06 23:05:36 -04:00
|
|
|
}
|