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()); }
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); } }
public Context(Personnage p, Touchers t, Animator a) : this(p, t) { this.animator = a; }
public Context(Personnage p, Touchers t) { this.personnage = p; this.touchers = t; }