pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] CVS: Games/Pingus/src/input move_event.hxx,1.1,1.2


From: torangan
Subject: [Pingus-CVS] CVS: Games/Pingus/src/input move_event.hxx,1.1,1.2
Date: 10 Jul 2002 16:40:50 -0000

Update of /usr/local/cvsroot/Games/Pingus/src/input
In directory dark:/tmp/cvs-serv25004

Modified Files:
        move_event.hxx 
Log Message:
Position should consist of x and y ;-)


Index: move_event.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/input/move_event.hxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- move_event.hxx      10 Jul 2002 16:15:28 -0000      1.1
+++ move_event.hxx      10 Jul 2002 16:40:48 -0000      1.2
@@ -30,10 +30,10 @@
   
     public:
       Type  type;
-      float pos;
+      float x, y;
            
     public:
-      MoveEvent (Type type_, float pos_) : type(type_), pos(pos_) { }
+      MoveEvent (Type type_, float x_, float y_) : type(type_), x(x_), y(y_) { 
}
       
       EventType get_type () { return Input::MoveEvent; }
   };




reply via email to

[Prev in Thread] Current Thread [Next in Thread]