This repository has been archived on 2023-11-14. You can view files and clone it, but cannot push or open issues/pull-requests.
vogue/test/world.v

20 lines
287 B
Coq
Raw Normal View History

2021-05-06 09:33:28 -04:00
namespace xyz.places;
2021-05-02 17:42:04 -04:00
link[] places;
link place;
link character;
2021-05-06 23:05:36 -04:00
restore {
2021-05-06 09:33:28 -04:00
if(places.empty) {
2021-05-02 17:42:04 -04:00
for(let i = 0; i < 3; i ++) {
2021-05-06 09:33:28 -04:00
const place = create('xyz.places.places.forest', {
2021-05-02 17:42:04 -04:00
world: this
});
places.push(place);
}
}
2021-05-06 09:33:28 -04:00
for(const place of places) {
place.ping();
}
2021-05-06 23:05:36 -04:00
}