...

Source file src/gitlab.com/tslocum/venture/pkg/template/adventure/item.go

Documentation: gitlab.com/tslocum/venture/pkg/template/adventure

     1  package adventure
     2  
     3  import "gitlab.com/tslocum/venture/pkg/world"
     4  
     5  type Item interface {
     6  	Object
     7  
     8  	// ItemSprite is the sprite displayed when the item is held by the player.
     9  	ItemSprite() *world.Sprite
    10  }
    11  

View as plain text