示例#1
0
 private void setFrame_btn_Click(object sender, EventArgs e)
 {
     if (entities.First.Value == null) return;
     Position newPos = new Position(entities.First.Value.Data.Box.X, entities.First.Value.Data.Box.Y);
     entities.First.Value.TimeFrames.Enqueue(new TimeFrame(newPos, this.ThoughtsTexbox.Text));
     PlayOrder.Enqueue(entities.First.Value);
     this.ThoughtsTexbox.Text = "";
 }
示例#2
0
 public TimeFrame(Position pos, string thought)
 {
     Pos = pos;
     Thought = thought;
 }