protected void init(GrapheFwk <Personnage> graphe)
 {
     this.graphe    = graphe;
     this._touchers = new Touchers();
     this.touchers  = new Touchers();
     this.context   = new Context <Personnage> (graphe.getPersonnage(), this.touchers, graphe.getAnimator());
 }
Exemple #2
0
 public void copy(Touchers touchers)
 {
     this.clearTouchers();
     foreach (ToucherExterne t in touchers.touchersExterne)
     {
         this.touchersExterne.Add(t);
     }
     foreach (ToucherInterne t in touchers.touchersInterne)
     {
         this.touchersInterne.Add(t);
     }
 }
Exemple #3
0
 public Context(Personnage p, Touchers t, Animator a) : this(p, t)
 {
     this.animator = a;
 }
Exemple #4
0
 public Context(Personnage p, Touchers t)
 {
     this.personnage = p;
     this.touchers   = t;
 }