...

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

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

     1  package adventure
     2  
     3  import "gitlab.com/tslocum/venture/pkg/world"
     4  
     5  type Object interface {
     6  	world.Node
     7  
     8  	ObjectName() string
     9  	ObjectType() int
    10  
    11  	// WorldSprite is the sprite displayed when this object is not held in the player's inventory.
    12  	WorldSprite() *world.Sprite
    13  }
    14  

View as plain text