public override bool Accept(GameVisitor visitor) { visitor.Visit(this); Snake?.Accept(visitor); Food?.Accept(visitor); return(true); }
public override bool Accept(GameVisitor visitor) { visitor.Visit(this); return(true); }
public abstract bool Accept(GameVisitor visitor);