23 lines
383 B
C#
23 lines
383 B
C#
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;
|
|
}
|
|
}
|
|
}
|