コード例 #1
0
 private void SetPreparedState(DrawingState drawingState)
 {
     foreach (DrawingObject obj in prepareComposite)
     {
         obj.SetState(drawingState);
     }
 }
コード例 #2
0
 public override void ChangeState(DrawingState state)
 {
     foreach (DrawingObject drawingObject in drawingGroups)
     {
         drawingObject.ChangeState(state);
     }
     this.state = state;
 }
コード例 #3
0
ファイル: DrawingObject.cs プロジェクト: widhera/FP_KPL
 public void ChangeState(DrawingState state)
 {
     this.state = state;
 }
コード例 #4
0
 public virtual void ChangeState(DrawingState drawingState)
 {
     this.state = drawingState;
 }
コード例 #5
0
 public void SetState(DrawingState state)
 {
     State.SetState(state);
 }
コード例 #6
0
 public void SetState(DrawingState state)
 {
     State = state;
 }
コード例 #7
0
 public DrawingContext(DrawingObject drawable)
 {
     this.drawable = drawable;
     State         = InitState.GetState();
 }