| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
| |
The x,y posittion in the wall is in pixels, then is not resolution independent
we need change it to be in porcentage of the width / height
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
| |
This patch only add the image to the map and the data structures,
but does not modifiy the size or position of the images.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
|
|
|
| |
The doors have different properties than the other objects
attached to the walls. The doors are present at the two sides of the wall,
and the position is fixed. I have moved the doors to a 'doors' array,
and the 'objects' array will be loaded with the other objects.
I think the code will be simpler in this way.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
| |
|
|
|
|
|
|
|
| |
The idea is put al the info related to the room in this
dictionary, like the name, other colors, etc.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
| |
Signed-off-by: Manuel QuiƱones <manuq@laptop.org>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
The class have the data to a basic map (we can add others later)
and basic methods to support navigation across the map.
A simple test is provided in the same file.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|