Skip to content

Commit

Permalink
Merge pull request #450 from LLNL/abmarl-449-update-registry
Browse files Browse the repository at this point in the history
udpated registry
  • Loading branch information
rusu24edward authored Oct 24, 2023
2 parents c321f0c + 4ea3cbf commit 7de2630
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions abmarl/sim/gridworld/registry.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@

from .actor import ActorBaseComponent, MoveActor, CrossMoveActor, BinaryAttackActor, \
EncodingBasedAttackActor, RestrictedSelectiveAttackActor, SelectiveAttackActor
from .done import DoneBaseComponent, ActiveDone, TargetAgentDone, OneTeamRemainingDone
from .done import DoneBaseComponent, ActiveDone, TargetAgentDone, OneTeamRemainingDone, \
TargetDestroyedDone
from .observer import ObserverBaseComponent, AbsoluteEncodingObserver, \
PositionCenteredEncodingObserver, StackedPositionCenteredEncodingObserver, \
AbsolutePositionObserver
AbsolutePositionObserver, AmmoObserver
from .state import StateBaseComponent, PositionState, TargetBarriersFreePlacementState, \
MazePlacementState, HealthState
MazePlacementState, HealthState, AmmoState


_subclass_check_mapping = {
Expand All @@ -27,17 +28,20 @@
}, 'done': {
ActiveDone,
TargetAgentDone,
TargetDestroyedDone,
OneTeamRemainingDone
}, 'observer': {
AbsoluteEncodingObserver,
PositionCenteredEncodingObserver,
StackedPositionCenteredEncodingObserver,
AbsolutePositionObserver
AbsolutePositionObserver,
AmmoObserver
}, 'state': {
PositionState,
TargetBarriersFreePlacementState,
MazePlacementState,
HealthState
HealthState,
AmmoState
}
}

Expand Down

0 comments on commit 7de2630

Please sign in to comment.