Skip to content

Commit

Permalink
v0.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkauzh committed Oct 10, 2023
1 parent d698e06 commit 13853bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/webzen/entity/entity.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package entity

import (
"github.com/dimkauzh/webzen/src/webzen/image"
rect "github.com/dimkauzh/webzen/src/webzen/shape"
"github.com/dimkauzh/webzen/src/webzen/shape"
)

type Entity struct {
Expand All @@ -14,7 +14,7 @@ type Entity struct {
width int
height int
image image.Image
rect rect.Rect
rect shape.Rect
}

func NewEntity(x int, y int, width int, height int) Entity {
Expand All @@ -25,6 +25,6 @@ func (e *Entity) SetImage(image image.Image) {
e.image = image
}

func (e *Entity) SetRect(rect rect.Rect) {
func (e *Entity) SetRect(rect shape.Rect) {
e.rect = rect
}

0 comments on commit 13853bd

Please sign in to comment.