Exemplo n.º 1
0
Arquivo: Door.cs Projeto: jpx/blazera
 void Door_OnMove(IDrawable sender, MoveEventArgs e)
 {
     Teleporter.Move(e.Move, e.ZOffset);
     WarpPoint.Point += e.Move;
     WarpPoint.Z += e.ZOffset;
 }
Exemplo n.º 2
0
 void Parent_OnMove(IDrawable sender, MoveEventArgs e)
 {
     Update();
 }
Exemplo n.º 3
0
        void AnimationMapEffect_OnMove(IDrawable sender, MoveEventArgs e)
        {
            if (Effect == null)
                return;

            Effect.Position += e.Move;
            Effect.Z += e.ZOffset;
        }