Module: Teien
- Defined in:
- lib/teien/ui/view.rb,
lib/teien/version.rb,
lib/teien/ui/camera.rb,
lib/teien/core/tools.rb,
lib/teien/actor/actor.rb,
lib/teien/core/network.rb,
lib/teien/ui/ui_listener.rb,
lib/teien/ui/view_object.rb,
lib/teien/core/core_event.rb,
lib/teien/core/dispatcher.rb,
lib/teien/ui/camera_mover.rb,
lib/teien/actor/actor_info.rb,
lib/teien/core/remote_info.rb,
lib/teien/actor/actor_event.rb,
lib/teien/core/event_router.rb,
lib/teien/ui/user_interface.rb,
lib/teien/actor/actor_factory.rb,
lib/teien/actor/actor_manager.rb,
lib/teien/animation/animation.rb,
lib/teien/base_object/physics.rb,
lib/teien/core/client_network.rb,
lib/teien/core/server_network.rb,
lib/teien/core/component_manager.rb,
lib/teien/ui/view_object_factory.rb,
lib/teien/base_object/base_object.rb,
lib/teien/base_object/object_info.rb,
lib/teien/base_object/physics_info.rb,
lib/teien/actor/actor_manager_proxy.rb,
lib/teien/animation/animation_event.rb,
lib/teien/action_model/smooth_moving.rb,
lib/teien/base_object/physics_object.rb,
lib/teien/animation/animation_manager.rb,
lib/teien/application/local_application.rb,
lib/teien/application/proxy_application.rb,
lib/teien/base_object/base_object_event.rb,
lib/teien/application/server_application.rb,
lib/teien/ui/std_objects/box_object_info.rb,
lib/teien/base_object/base_object_manager.rb,
lib/teien/ui/std_objects/cone_object_info.rb,
lib/teien/ui/std_objects/mesh_object_info.rb,
lib/teien/ui/std_objects/floor_object_info.rb,
lib/teien/ui/std_objects/light_object_info.rb,
lib/teien/animation/animation_manager_proxy.rb,
lib/teien/ui/std_objects/sphere_object_info.rb,
lib/teien/base_object/physics_object_factory.rb,
lib/teien/ui/std_objects/capsule_object_info.rb,
lib/teien/ui/std_objects/mesh_bb_object_info.rb,
lib/teien/ui/std_objects/cylinder_object_info.rb,
lib/teien/base_object/base_object_manager_base.rb,
lib/teien/base_object/base_object_manager_proxy.rb,
lib/teien/base_object/std_objects/box_object_info.rb,
lib/teien/base_object/std_objects/cone_object_info.rb,
lib/teien/base_object/std_objects/mesh_object_info.rb,
lib/teien/base_object/std_objects/floor_object_info.rb,
lib/teien/base_object/std_objects/light_object_info.rb,
lib/teien/base_object/std_objects/sphere_object_info.rb,
lib/teien/base_object/std_objects/capsule_object_info.rb,
lib/teien/base_object/std_objects/mesh_bb_object_info.rb,
lib/teien/base_object/std_objects/cylinder_object_info.rb
Defined Under Namespace
Modules: Dispatcher, Event
Classes: Actor, ActorFactory, ActorInfo, ActorManager, ActorManagerProxy, Animation, AnimationManager, AnimationManagerProxy, BaseObject, BaseObjectManager, BaseObjectManagerBase, BaseObjectManagerProxy, BoxObjectInfo, Camera, CameraMover, CapsuleObjectInfo, ClientNetwork, CollisionFilter, Color, ConeObjectInfo, ContactResult, CylinderObjectInfo, Degree, EventRouter, FloorObjectInfo, KeyListener, LightObjectInfo, LocalApplication, MeshBBObjectInfo, MeshObjectInfo, MouseListener, Network, ObjectInfo, Physics, PhysicsInfo, PhysicsObject, PhysicsObjectFactory, ProxyApplication, Quaternion, Radian, RemoteInfo, ServerApplication, ServerNetwork, SmoothMoving, SphereObjectInfo, TrayListener, UI, UserInterface, Vector2D, Vector3D, View, ViewObject, ViewObjectFactory
Constant Summary
collapse
- VERSION =
"0.2.1"
- @@components =
Hash.new()
Class Method Summary
collapse
Class Method Details
.get_component(name) ⇒ Object
8
9
10
11
12
|
# File 'lib/teien/core/component_manager.rb', line 8
def self.get_component(name)
component = @@components[name]
return component if component
raise RuntimeError, "There is no such component registered: '#{name}'."
end
|
.register_component(name, component) ⇒ Object
4
5
6
|
# File 'lib/teien/core/component_manager.rb', line 4
def self.register_component(name, component)
@@components[name] = component
end
|