16 lines
410 B
Python
16 lines
410 B
Python
from domain.entities.entity import Entity
|
|
from domain.world import World
|
|
|
|
|
|
class Vacuum(Entity):
|
|
def __init__(self, x: int, y: int):
|
|
super().__init__(x, y, "VACUUM")
|
|
self.battery = 100
|
|
self.cleaning_detergent = 100
|
|
self.container_filling = 0
|
|
|
|
def increase_container_filling(self) -> None:
|
|
self.container_filling += 10
|
|
|
|
# TODO VACUUM: add more properties
|