Zombie Attack

Iniziamo. È gratuito!
o registrati con il tuo indirizzo email
Zombie Attack da Mind Map: Zombie Attack

1. Testing

2. import

2.1. random

2.2. poc_grid

2.3. poc_queue

2.4. poc_zombie_gui

3. Rules

3.1. impassable cells

3.1.1. zombies

3.1.2. humans

3.1.3. FULL

3.2. passable cells

3.2.1. habitable

3.2.1.1. zombies

3.2.1.2. humans

3.2.2. EMPTY

3.2.3. several humans & zombies can inhabit @ same time

3.3. each step

3.3.1. either

3.3.1.1. update zombies

3.3.1.2. update humans

4. Classes

4.1. Grid

4.1.1. methods

4.1.1.1. __init__

4.1.1.1.1. (grid_height, grid_width)

4.1.1.2. __str__

4.1.1.3. get_grid_height

4.1.1.3.1. INT

4.1.1.4. get_grid_width

4.1.1.4.1. INT

4.1.1.5. clear

4.1.1.6. set_empty

4.1.1.6.1. (row, col)

4.1.1.7. set_full

4.1.1.7.1. (row, col)

4.1.1.8. is_empty

4.1.1.8.1. (row, col)

4.1.1.9. four_neighbors

4.1.1.9.1. (row, col)

4.1.1.10. eight_neighbors

4.1.1.10.1. (row, col)

4.1.1.11. get_index

4.1.1.11.1. (poinit, cell_size)

4.1.2. properties

4.1.2.1. _grid_height

4.1.2.2. _grid_width

4.1.2.3. _cells

4.1.3. constants

4.1.3.1. FULL

4.1.3.1.1. TRUE

4.1.3.2. EMPTY

4.1.3.2.1. FALSE

4.2. Apocolypse

4.2.1. properties

4.2.1.1. optional

4.2.1.1.1. zombie_list

4.2.1.1.2. human_list

4.2.1.1.3. obstacle_list

4.2.2. methods

4.2.2.1. clear

4.2.2.2. add_zombie

4.2.2.2.1. (row, col)

4.2.2.3. num_zombies

4.2.2.3.1. INT

4.2.2.4. zombies

4.2.2.5. add_human

4.2.2.5.1. (row, col)

4.2.2.6. num_humans

4.2.2.6.1. INT

4.2.2.7. humans

4.2.2.8. compute_distance_field

4.2.2.8.1. (entity_type)