Example #1
0
 // Use this for initialization
 void Start()
 {
     player = GetComponent <Head>();
 }
Example #2
0
File: Snake.cs Project: TimDN/Snake
 public Snake(int startPosX, int startPosY)
 {
     Head = new Head(new Point(startPosX, startPosY), Direction.right);
 }