More tests and more coverage
This commit is contained in:
		@@ -8,9 +8,9 @@ class Item(Entity):
 | 
			
		||||
        super().__init__(*args, **kwargs)
 | 
			
		||||
        self.held = False
 | 
			
		||||
 | 
			
		||||
    def drop(self, x: int, y: int) -> None:
 | 
			
		||||
    def drop(self, y: int, x: int) -> None:
 | 
			
		||||
        self.held = False
 | 
			
		||||
        self.move(x, y)
 | 
			
		||||
        self.move(y, x)
 | 
			
		||||
 | 
			
		||||
    def hold(self) -> None:
 | 
			
		||||
        self.held = True
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@ from ..interfaces import FightingEntity, Map
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class Monster(FightingEntity):
 | 
			
		||||
    def act(self, map: Map) -> None:
 | 
			
		||||
    def act(self, m: Map) -> None:
 | 
			
		||||
        pass
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user