Beispiel #1
0
 /// <summary>
 /// Loads the collider.
 /// </summary>
 /// <param name="init"></param>
 /// <param name="holder"></param>
 public override void Load(Initializer init, GameObject holder)
 {
     base.Load(init, holder);
     args = new ColliderArgs();
     args.PreviousPosition = Holder.Position;
 }
Beispiel #2
0
        private void onMove(object sender, EventArgs args)
        {
            ColliderArgs cArgs = (ColliderArgs)args;

            engine.UpdateObjectQuad(Holder, cArgs.PreviousPosition);
        }