rename object to platform, refact of file names
This commit is contained in:
16
konstructor/object.npc.go
Normal file
16
konstructor/object.npc.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package konstructor
|
||||
|
||||
type NPCTypeMapKey string
|
||||
|
||||
type NPCTypeMap map[NPCTypeMapKey]NPCType
|
||||
|
||||
type NPCType struct {
|
||||
ID string
|
||||
Render Render
|
||||
}
|
||||
|
||||
type NPC struct {
|
||||
ID string
|
||||
Type NPCType
|
||||
Position Position
|
||||
}
|
||||
Reference in New Issue
Block a user