Skip to content

Commit 4d34202

Browse files
committed
remove astro to be tpl
1 parent 98b0f2d commit 4d34202

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

server/game.cc

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,6 @@ universe *u;
1010

1111
void start() {
1212
u = new universe;
13-
14-
auto a = new astro(u);
15-
a->massive = 1.5f;
16-
a->fixed = true;
17-
u->activate(u->insert(a));
18-
19-
a = new astro(u, coordinate(1, 1));
20-
a->velocity = coordinate(1.0/128, -1.0/128);
21-
a->massive = 0.75f;
22-
u->activate(u->insert(a));
23-
24-
a = new astro(u, coordinate(-2, -2));
25-
a->velocity = coordinate(-1.0/128, 1.0/128);
26-
a->massive = 0.7f;
27-
u->activate(u->insert(a));
28-
2913
u->start();
3014
}
3115

0 commit comments

Comments
 (0)