public void Add(CodeStatement code)
        {
            var x = codeList.Count * (128 + 10) + 10 + 64;
            var y = 10 + 16;
            code.Position = position + new Vector2(x, y);
            code.IsHUD = true;

            this.codeList.Add(code);
        }
        public void Replace(CodeStatement code)
        {
            for (int i = 0; i < codeList.Count; i++)
            {
                codeList[i].RemoveGame(); ;
            }
            this.codeList.Clear();

            var x = codeList.Count * (128 + 10) + 10 + 64;
            var y = 10 + 16;
            code.Position = position + new Vector2(x, y);
            code.IsHUD = true;

            this.codeList.Add(code);
        }