コード例 #1
0
 public AbsDoodleMoveState(DoodleObject avatar)
 {
     this.avatar   = avatar;
     factory       = new DoodleMetaFactory(avatar.powerState, avatar.content);
     avatar.Sprite = factory.build(this);
 }
コード例 #2
0
 public AbsPowerStateDoodle(DoodleObject avatar)
 {
     this.avatar   = avatar;
     factory       = new DoodleMetaFactory(this, avatar.content);
     avatar.Sprite = factory.build(avatar.moveState);
 }
コード例 #3
0
 public ISprite build(AbsDoodleMoveState moveState)
 {
     product = localFactory.build(moveState);
     return(product);
 }