- use toggle tile for all toggling entities (transient, switch, door) - get rod of hard coded sprites (exception: particle class, to be fixed later) - changed switch sprite (rect instead of elipse)
11 lines
135 B
Go
11 lines
135 B
Go
package components
|
|
|
|
import (
|
|
"github.com/hajimehoshi/ebiten/v2"
|
|
)
|
|
|
|
type Transient struct {
|
|
Activated bool
|
|
Wall *ebiten.Image
|
|
}
|