94b9d2b2ad0b2de01dd579cc047daeff1be78133
1 # Monsterz - Chains of Friends
3 # 2010-2014 (c) Jean Privat <jean@pryen.org>
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of the Do What The Fuck You Want To
7 # Public License, Version 2, as published by Sam Hocevar. See
8 # http://sam.zoy.org/projects/COPYING.WTFPL for more details.
10 # android version of the game
11 module friendz_android
17 redef fun window_created
21 display
.set_viewport
(0,0,w
,w
*display
.height
/display
.width
)
25 redef class AndroidPointerEvent
26 redef fun is_motion
do return not motion_event
.just_went_down