Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
Effects removed.
Browse files Browse the repository at this point in the history
  • Loading branch information
OlafSzmidt committed Sep 26, 2017
1 parent c574164 commit ecf4ed8
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 123 deletions.
51 changes: 0 additions & 51 deletions aimmo-game/simulation/effects.py

This file was deleted.

2 changes: 0 additions & 2 deletions aimmo-game/simulation/map_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
from simulation.direction import ALL_DIRECTIONS
from simulation.location import Location
from simulation.world_map import WorldMap
from simulation.world_map import world_map_static_spawn_decorator
from simulation.world_map import DEFAULT_LEVEL_SETTINGS

from simulation.custom_map import BaseGenerator
from simulation.custom_map import BaseLevelGenerator
Expand Down
1 change: 0 additions & 1 deletion aimmo-game/simulation/pickups.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from abc import ABCMeta, abstractmethod, abstractproperty
import effects


class _Pickup(object):
Expand Down
57 changes: 0 additions & 57 deletions aimmo-game/tests/test_simulation/test_effects.py

This file was deleted.

13 changes: 1 addition & 12 deletions aimmo-game/tests/test_simulation/test_pickups.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import abc
from unittest import TestCase

from simulation import effects, pickups
from simulation import pickups
from .dummy_avatar import DummyAvatar
from .maps import MockCell

Expand All @@ -28,17 +28,6 @@ def test_pickup_removed(self):
def pickup_class(self):
pass

class BasePickupEffectTestCase(BasePickupTestCase):
__metaclass__ = abc.ABCMeta

@abc.abstractproperty
def effect_class(self):
pass

def test_effect_added(self):
self.apply_pickup()
self.assertEqual(len(self.avatar.effects), 1)
self.assertIsInstance(list(self.avatar.effects)[0], self.effect_class)

class TestDeliveryPickup(_BaseCases.BasePickupTestCase):
pickup_class = pickups.DeliveryPickup
Expand Down

0 comments on commit ecf4ed8

Please sign in to comment.