Commit graph

20 commits

Author SHA1 Message Date
Felix Ableitner
afdd8a03b1 Character: Moved setDelete from onDeath to onDamage.
This means the default implemenation does not need to be called
by implementations.
2012-10-04 19:30:50 +02:00
Felix Ableitner
f013b3c000 Moved creation of Body from Enemy to Character. 2012-10-04 19:24:46 +02:00
Felix Ableitner
f4bb9a5dae Made Character a subclass of Sprite. 2012-10-01 11:13:26 +02:00
Felix Ableitner
484bba13c8 Renamed Actor to Character. 2012-10-01 11:02:44 +02:00
Felix Ableitner
bf31cadc71 Added getter functions for size, solid and static properties. 2012-09-28 18:43:28 +02:00
Felix Ableitner
77d78b3936 Added comments and clarified headers. 2012-09-16 21:32:31 +02:00
Felix Ableitner
3cc8c93845 Removed Collection::Level, using Physical::Category order instead. 2012-09-16 20:33:00 +02:00
Felix Ableitner
dbfa7c10c2 Resolved conflict (missed earlier). 2012-09-15 15:28:15 +02:00
Felix Ableitner
17e628b083 Added forward declarations (not for library types). 2012-09-14 20:39:56 +02:00
Felix Ableitner
69eca24bd2 Added Body class to be dropped by Enemy on death. 2012-09-14 20:33:32 +02:00
Felix Ableitner
2f8e91c3b7 Added option to use circle as collision model. 2012-09-13 14:34:36 +02:00
Felix Ableitner
188fa2907b Fixed angle setters/getters in Physical. 2012-09-13 13:35:16 +02:00
Felix Ableitner
a793cc8933 Merged invalid branch. 2012-09-12 14:21:57 +02:00
Felix Ableitner
09e0a5f2d2 Added documentation. 2012-09-11 19:37:19 +02:00
Felix Ableitner
b0d2fe7a1f Added health to actor, bullets can damage and kill. 2012-09-11 18:08:07 +02:00
Felix Ableitner
f09eee6828 Clarified documentation. 2012-09-11 16:22:02 +02:00
Felix Ableitner
3690860a5d Disabled bullet pushback via mass. 2012-09-11 16:19:16 +02:00
Felix Ableitner
19569a0443 Removed unnecessary switch. 2012-09-11 16:08:38 +02:00
Felix Ableitner
45f0b31d57 Initial commit after git corruption, old repo deleted.
Working:
Rendering
Resources
Physics
Player movement with mouse
Shooting with mouse
Tiles
2012-09-10 17:26:37 +02:00
Felix Ableitner
125cd747fa Initial commit after git corruption, old repo deleted. 2012-09-09 22:55:14 +02:00