Example #1
0
    private void InitiateSnake()
    {
        int x = width / 2;
        int y = height / 2;

        Hero hero = CreateHero(x, y);

        snake.AddHero(hero);
        gridSystem.AddObject(x, y, hero);
    }