drBradley/Quantee — pull request #12 by szabba (2012-10-31 11:21:35+00:00)
Title: Some refactoring and a new package (`quantee`)

```
src/level.yaml -> assets/level.yaml

Assets shall reside amongst others of their own kind.

src/__init__.py

Made the source root a package.

src/general/entity.py

Added displacement information as properties `move`, `dx` and `dy`.

src/quantee/__init__.py

Package `quantee` created.

src/render.py -> src/quantee/render.py

Renderer moved to the `quantee` package.

src/quantee/entity.py

Created `QEntity` -- the base class for entities in Quantee.
```

Finalising issue #11.

In relation to the "general state" controversy -- we'll just keep a
single descriptory value per Entity.

Also -- we'll keep both velocity and displacement for each Entity -- the
first for the sake of collision detection, the second for the Renderer
to perform so-called "dirty rect animation".