aboutsummaryrefslogtreecommitdiff
path: root/entity.go
diff options
context:
space:
mode:
Diffstat (limited to 'entity.go')
-rw-r--r--entity.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/entity.go b/entity.go
index 6066772..75c1604 100644
--- a/entity.go
+++ b/entity.go
@@ -29,11 +29,6 @@ func Draw(screen *ebiten.Image, e *Entity) {
if e.Image.IsEnabled && e.Position.IsEnabled {
op := &ebiten.DrawImageOptions{}
op.GeoM.Translate(float64(e.Position.Value.X), float64(e.Position.Value.Y))
- if e.Selection.IsEnabled && e.Selection.Value.IsSelected {
- op.GeoM.Translate(-10, -10)
- screen.DrawImage(e.Selection.Value.SelectedImage, op)
- } else {
- screen.DrawImage(e.Image.Value, op)
- }
+ screen.DrawImage(e.Image.Value, op)
}
}