src: cleanup useless importation

Signed-off-by: Jean Privat <jean@pryen.org>
shoot: make android

But the game is unplayable yet without keyboard, see next patches

Signed-off-by: Jean Privat <jean@pryen.org>
shoot: add Player::going_target

A simple target used to control player with pointers.

Signed-off-by: Jean Privat <jean@pryen.org>
shoot: control player with `PointerEvent`

Signed-off-by: Jean Privat <jean@pryen.org>
shoot: specialize scene to add witdth and height

Signed-off-by: Jean Privat <jean@pryen.org>
shoot: add scene to sprites and use it to gather global width and height

Signed-off-by: Jean Privat <jean@pryen.org>
shoot: use a scale factor to compute the game dimentions

Signed-off-by: Jean Privat <jean@pryen.org>
tests: add sav/shoot_android.res

Signed-off-by: Jean Privat <jean@pryen.org>
tests: update sav/shoot_logic.res

Signed-off-by: Jean Privat <jean@pryen.org>
ffi: update code with last syntax

use `extern class` and dotted notation for extern call and casts.

Signed-off-by: Jean Privat <jean@pryen.org>
syntax: remove last usages of `=` in one liner function

This optional syntax is largely unused and no so KISS.
I will drop it in a future grammar.

Signed-off-by: Jean Privat <jean@pryen.org>
lib: remove usage of old-style getters and setters

old-style attributes are still available but getters and setters are manual.
This encourage the use of new-style attributes.

Support for old style attributes will be removed eventually.

Signed-off-by: Jean Privat <jean@pryen.org>
tests: remove usage of old-style getters and setters

Signed-off-by: Jean Privat <jean@pryen.org>
parser: add 'public' keyword

to reserve it :)

Signed-off-by: Jean Privat <jean@pryen.org>
parser: parentheses in `.as` are optional

Signed-off-by: Jean Privat <jean@pryen.org>
parser: allow top-level methods between class definitions

Signed-off-by: Jean Privat <jean@pryen.org>
parser: disable unused `=` shortcut for functions

So simplify the grammar.

Signed-off-by: Jean Privat <jean@pryen.org>
parser: force new style FFI in syntax.

`extern class` + dotted extern call notations.

Signed-off-by: Jean Privat <jean@pryen.org>
parser: split `AIntExpr` and `ADecIntExpr`

next commit will introduce AHexIntExpr

Signed-off-by: Jean Privat <jean@pryen.org>
parser: add AHexIntExpr

Signed-off-by: Jean Privat <jean@pryen.org>