Entities

Entity class tree specifies class hierarchy. Leaves of tree are class instances ie. actual game objects, player accounts, etc...

Entity class tree

root_entity

Attribute list: Bach version:
{
	children: ["admin_entity", "root_geometry", "glue_entity"],
	description: "Later in hierarchy tree objtype changes to 'object' when actual game objects are made.",
	id: "root_entity",
	objtype: "class",
	parents: ["root"],
	summary: "Starting point for entity hierarchy"
}

    

admin_entity

Attribute list: Bach version:
{
	children: ["account", "server"],
	id: "admin_entity",
	parents: ["root_entity"],
	summary: "All classes and objects used for adminitrativive purposes"
}

    

account

Attribute list: Bach version:
{
	children: ["player", "admin"],
	id: "account",
	parents: ["admin_entity"],
	password: "",
	summary: "Base class for accounts"
}

    

player

Attribute list: Bach version:
{
	characters: [],
	children: [],
	id: "player",
	parents: ["account"],
	summary: "Player accounts"
}

    

admin

Attribute list: Bach version:
{
	children: [],
	id: "admin",
	parents: ["account"],
	summary: "Privileged accounts"
}

    

server

Attribute list: Bach version:
{
	children: [],
	id: "server",
	parents: ["admin_entity"],
	summary: "Info about server"
}

    

root_geometry

Attribute list: Bach version:
{
	area: [],
	children: ["game_entity"],
	contains: [],
	description: "All classes and objects that have geometry and
    can be positioned and contain things and/or are contained by something.
    See maps/semantic_maps.pdf for more info.",
	detailed_contents: 0,
	glue: [],
	id: "root_geometry",
	loc: "",
	parents: ["root_entity"],
	polyline: [],
	pos: [0.0, 0.0, 0.0],
	rotation: [
		[1.0, 0.0, 0.0],
		[0.0, 1.0, 0.0],
		[0.0, 0.0, 1.0]
	],
	stamp_contains: 0.0,
	summary: "Classes/objects with geometry",
	velocity: [0.0, 0.0, 0.0],
	volume: []
}

    

game_entity

Attribute list: Bach version:
{
	children: ["autonomous_entity", "world"],
	id: "game_entity",
	interface: "game_interface",
	parents: ["root_geometry"],
	specification: "atlas_game",
	summary: "All In Game classes and objects"
}

    

autonomous_entity

Attribute list: Bach version:
{
	children: [],
	id: "autonomous_entity",
	parents: ["game_entity"],
	summary: "All In Game classes and objects which act autonomously"
}

    

world

Attribute list: Bach version:
{
	children: [],
	id: "world",
	media_roots: ["root_media_info"],
	parents: ["game_entity"],
	root_object: "root",
	summary: "Info about world"
}

    

glue_entity

Attribute list: Bach version:
{
	children: [],
	description: "When to objects that should be clued together use
    different reference coordinate system with different absolute
    position in reference coordinate systems, then can't use same ids
    for shared points. In that case point directly to shared
    points. For example: glue_ids:[[\"pond2.area.1.2\", \"brook1.polyline.1\"]]
    Each list is id_list listing ids on that particular point.",
	glue_ids: [],
	id: "glue_entity",
	parents: ["root_entity"],
	summary: "Classes/objects that glue objects to each other by using ids"
}

    

Aloril
Last modified: Sat Nov 13 15:46:39 EET 1999