Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace SnakeOOP2b
- {
- class Snake
- {
- Queue<Point> body = new Queue<Point>();
- public Snake(int snakeLenght)
- {
- for (int i = 0; i < snakeLenght; i++)
- {
- body.Enqueue(new Point(i,0));
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement