Add project files.
This commit is contained in:
22
Snake/Cell.cs
Normal file
22
Snake/Cell.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Snake
|
||||
{
|
||||
public class Cell
|
||||
{
|
||||
public int X;
|
||||
public int Y;
|
||||
public CellTypes Type;
|
||||
|
||||
public Cell(int x, int y, CellTypes type)
|
||||
{
|
||||
X = x;
|
||||
Y = y;
|
||||
Type = type;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user