part of Bot class

This commit is contained in:
programsnail 2024-07-25 22:42:54 +03:00
parent 1e9c70f7d8
commit 360c3b064a
4 changed files with 61 additions and 7 deletions

View file

@ -53,7 +53,7 @@ Map map{{
// std::vector<Worm> bots; // TODO
auto snake = Worm(canvas::WormObject{
auto snake = Snake(canvas::SnakeObject{
{.pos = Veci(player.pos), .color = {color::GREEN}},
10,
10,