Michał Czekański
8df653bacf
Add scroll up and down method in UiConsole class
2020-05-15 01:44:32 +02:00
Michał Czekański
741222e0aa
Add update method, static buffer, static printing to console method
...
Added static buffer in UiConsole class which stores lines to print. Even if there is no UiConsole object instantiated (cos it's static).
Everything from buffer is being printed on update() calls, update is called every frame.
To add lines to buffer use static printToConsole() method.
2020-05-15 01:37:07 +02:00
Michał Czekański
7bf924e2c9
Merge branch 'CodeUpdate_WriteToConsole' into UI_doc
2020-05-15 01:17:43 +02:00
Michał Czekański
8c479be091
Add comments in UiButton.py
2020-05-15 01:17:22 +02:00
Michał Czekański
b606124d38
Add comments in UiImage.py
2020-05-14 21:18:57 +02:00
Michał Czekański
786db30b58
Remove unnecessary field in UiBar class
2020-05-14 21:15:57 +02:00
Michał Czekański
25903c2126
Add comments in UiBar.py
2020-05-14 21:10:51 +02:00
Michał Czekański
f0d6f5f8e4
Add comments in UiElement.py
2020-05-14 21:10:09 +02:00
569128763b
Entities list is now a pygame.sprite.Group
2020-05-14 16:33:35 +02:00
fad3d68b55
getFacingCoord screenRelative now defaults to false
2020-05-14 16:30:10 +02:00
3924023a92
Documentation fixes
2020-05-14 16:24:59 +02:00
31811782fb
Now displays game's __init__
2020-05-14 16:24:52 +02:00
c806d99d49
Changed tooltip from except to raises
2020-05-14 16:18:29 +02:00
085446ea93
Added more documentation
2020-05-14 16:16:19 +02:00
2b07e7394f
Now showing constructors
2020-05-14 15:35:41 +02:00
79144c28a3
Prettier doc
2020-05-14 15:20:37 +02:00
d8da2f2625
Fixed code highlighting
2020-05-14 15:01:43 +02:00
154dbaffaa
Added readme
2020-05-14 15:00:31 +02:00
1610f9c0da
Fixed imports
2020-05-14 14:54:11 +02:00
a8ef08b3ef
Added sphinx documentation generator
2020-05-14 14:40:53 +02:00
844397191a
Added tooltips to getCoords and SetCoords
2020-05-14 12:56:33 +02:00
fed30b0ade
Added tooltips
2020-05-14 12:44:27 +02:00
cc98db0a96
Methods now use relative coords
2020-05-14 12:39:09 +02:00
776be8fb90
A* uses relative coords
2020-05-14 12:38:48 +02:00
95972ac969
Entities now load with relative coords
2020-05-14 12:11:57 +02:00
065111dee9
Changed default param
2020-05-14 12:11:46 +02:00
dac8583665
Changed tooltips
2020-05-14 12:07:35 +02:00
824a7e33ea
draw method sets mapOffset field properly
2020-05-14 12:05:52 +02:00
93f4e9f53d
Changed tooltip
2020-05-14 12:05:32 +02:00
2618bbdf9c
moveForward method uses relative coords
2020-05-14 12:05:12 +02:00
7ed974b194
Added newlines in docstrings
2020-05-14 11:46:52 +02:00
269e376756
getFacingCoord can now return non-relative coords
2020-05-14 11:46:06 +02:00
107bd0d8f7
Changed constructor
2020-05-14 11:32:13 +02:00
1eb75fc354
Fixed abysmal draw method
2020-05-14 11:27:54 +02:00
e66b0d4a59
Removed redundant draw method params
2020-05-14 11:24:51 +02:00
6ed8423463
Added setter method usage
2020-05-14 11:23:04 +02:00
823eefac86
Fixed relative coord update
2020-05-14 11:18:58 +02:00
2bf0ed035b
Added map coord offset
2020-05-14 11:15:27 +02:00
f224c8c657
Removed removeSprite method
2020-05-14 11:13:29 +02:00
ce50622b89
Removed removeSprite method
2020-05-14 11:13:09 +02:00
57b95e10df
Added relative coords
2020-05-14 11:03:50 +02:00
cba207f98c
Changed item pickup method
2020-05-13 20:17:32 +02:00
649b61a84e
Added pickup to move method
2020-05-13 20:17:17 +02:00
b3d38403ad
Added documentation
2020-05-13 19:50:53 +02:00
93472900b9
Removed A* calls from game
2020-05-13 19:48:51 +02:00
48e81e206b
Enums refactor
2020-05-13 19:48:08 +02:00
effa48d7c3
Fixing item pickup action after completing the movement
2020-05-13 19:47:53 +02:00
a51661ae6e
on_interaction method now removes the entity itself
2020-05-13 19:45:52 +02:00
28d9013983
Enums refactor
2020-05-13 19:36:06 +02:00
d6cf76f6bc
Updated A* function calls
2020-05-13 19:34:16 +02:00