« All Events
3:30 PM – Adv Python Game Dev – Latisha
January 6 @ 3:30 pm - 4:30 pm
Today We Did
- We continued with removing code duplications from EnemyTurret and EnemyTank classes using inheritance.
- We started launching player’s bullet when user click the mouse.
Homework
- Modify the Wall class so that it also takes a type. The type can be either WALL_FLAG or BORDER_WALL_FLAG. If the type is BORDER_WALL_FLAG, use the image in “assets/IronWall.png” otherwise use the Brick.png we used before.
- In main in the read_map() function, if cell_val is BOARDER_WALL_FLAG then add the wall to the group.