Commit graph

15 commits

Author SHA1 Message Date
e8b2729353 Add blocks_movement to the Entity class 2022-05-08 23:36:56 -07:00
021b82c93a Add an Actor subclass of Entity
Make Hero and Monster subclasses of Actor
2022-05-08 23:35:47 -07:00
6bb5d819bf Lots of comment and type documentation in object.py 2022-05-08 09:56:21 -07:00
e1562b2b2b Add a Fighter component to the Hero 2022-05-08 09:55:56 -07:00
687511d69e Add an ai attribute to Entity 2022-05-08 09:54:08 -07:00
cf9ec2d17e Move Monster to the object module 2022-05-08 09:48:05 -07:00
d0a2e2c2ef Clean up imports and terminal newlines in files according to pylint 2022-05-07 11:22:54 -07:00
1e69667ba8 Create a Hero class for the character the player moves; stop using tcod.Color for foreground and background; use tuples instead 2022-05-06 21:16:00 -07:00
a54828c7fb Fix up all the runtime errors caused by the previous refactoring 2022-05-01 09:51:22 -07:00
5ce26e310b Move the action perform logic to Action.perform() on each Action subclass
Rename Object to Entity to avoid name clashes with Python.object
2022-05-01 09:29:30 -07:00
d56bcc7b4a Add an Engine class and move all the engine-y bits over there from main 2022-04-30 23:30:23 -07:00
4f6d04456c Add some basic geometry primitives
Point, Vector, Size, and Rect. These are modeled on the CoreGraphics types.
2022-04-30 21:59:33 -07:00
367b284d31 Add a map with tiles that can block player movement 2022-04-27 13:53:42 -07:00
4419eb360d Draw a PLAYER and NPC @; make the NPC yellow 2022-04-27 08:19:56 -07:00
d069ca4981 Define an Object with a position and symbol; make the player an Object 2022-04-26 22:25:04 -07:00