middleware/src/MainModule/Events/FallListener.cs
changeset 39 15b11d291417
parent 37 37ebedd84755
equal deleted inserted replaced
38:08f96aad0127 39:15b11d291417
     1 /*
     1 /*
     2 * This file is part of the TraKERS\Middleware package.
     2 * This file is part of the TraKERS\Middleware package.
     3 *
     3 *
     4 * (c) IRI <http://www.iri.centrepompidou.fr/>
     4 * (c) IRI <http://www.iri.centrepompidou.fr/>
     5 *
     5 *
     6 * For the full copyright and license information, please view the LICENSE
     6 * For the full copyright and license information, please view the LICENSE
     9 
     9 
    10 /*
    10 /*
    11  * Projet : TraKERS
    11  * Projet : TraKERS
    12  * Module : MIDDLEWARE
    12  * Module : MIDDLEWARE
    13  * Sous-Module : MainModule/Events
    13  * Sous-Module : MainModule/Events
    14  * Classe : JumpListener
    14  * Classe : FallListener
    15  * 
    15  * 
    16  * Auteur : alexandre.bastien@iri.centrepompidou.fr
    16  * Auteur : alexandre.bastien@iri.centrepompidou.fr
    17  * 
    17  * 
    18  * Fonctionnalités : Ce listener écoute l'événement du type : L'utilisateur a sauté.
    18  * Fonctionnalités : Ce listener écoute l'événement du type : L'utilisateur est tombé.
    19  * Il contient le code a être éxecuté au cas où cet événement survient.
    19  * Il contient le code a être éxecuté au cas où cet événement survient.
    20  */
    20  */
    21 
    21 
    22 using System;
    22 using System;
    23 using System.Collections.Generic;
    23 using System.Collections.Generic;
    27 namespace Trakers.MainModule.Events
    27 namespace Trakers.MainModule.Events
    28 {
    28 {
    29     public class FallListener
    29     public class FallListener
    30     {
    30     {
    31         /*
    31         /*
    32         * Méthode appelée lorsque on a l'événement : L'utilisateur a sauté.
    32         * Méthode appelée lorsque on a l'événement : L'utilisateur est tombé.
    33         */
    33         */
    34         public void showAndSend(object o, FallEventArgs e)
    34         public void showAndSend(object o, FallEventArgs e)
    35         {
    35         {
    36             e.debug.showGesture("FALL");
    36             e.debug.showGesture("FALL");
    37             e.server.GesturePerformed("FALL");
    37             e.server.GesturePerformed("FALL");