|
|
@ -14,6 +14,8 @@ struct App{ |
|
|
|
std::vector<User*> people_online; |
|
|
|
libwebsocket * uberclient{nullptr}; |
|
|
|
|
|
|
|
std::vector<AbstractLine> lines; |
|
|
|
|
|
|
|
simu_type sim; |
|
|
|
beat_type beat; |
|
|
|
|
|
|
@ -29,6 +31,7 @@ struct App{ |
|
|
|
} |
|
|
|
|
|
|
|
void add_line(AbstractLine const & line){ |
|
|
|
lines.push_back(line); |
|
|
|
for(auto & l : line.calculate_lines()){ |
|
|
|
sim.lines.push_back(l); |
|
|
|
} |
|
|
|