public Snake(Texture2D texture, Vector2 position, Vector2 screenSize, LevelManager levelManager, FruitManager fruitManager, Splash splash, Score score) : base(texture, position, screenSize) { sections.Add(this); speed = 1; state = new UpState(this); this.levelManager = levelManager; this.fruitManager = fruitManager; this.splash = splash; this.score = score; }
public FruitManager(Vector2 screenSize, LevelManager levelManager) : base(null, new Vector2(0,0), screenSize) { this.levelManager = levelManager; }