Add project files.
This commit is contained in:
19
Snake/Worm.cs
Normal file
19
Snake/Worm.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Snake
|
||||
{
|
||||
public class Worm
|
||||
{
|
||||
public List<Cell> Body = new List<Cell>();
|
||||
|
||||
public Worm(Cell startCell)
|
||||
{
|
||||
Body.Add(startCell);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user