public AbsDoodleMoveState(DoodleObject avatar) { this.avatar = avatar; factory = new DoodleMetaFactory(avatar.powerState, avatar.content); avatar.Sprite = factory.build(this); }
public AbsPowerStateDoodle(DoodleObject avatar) { this.avatar = avatar; factory = new DoodleMetaFactory(this, avatar.content); avatar.Sprite = factory.build(avatar.moveState); }
public ISprite build(AbsDoodleMoveState moveState) { product = localFactory.build(moveState); return(product); }