C# Class hyades.level.Level

Mostrar archivo Open project: zfedoran/bubblebound Class Usage Examples

Public Properties

Property Type Description
entities List
hint_logic hyades.graphics.particle.HintBubblesLogic
id int
is_debug_visible bool
name string
physics hyades.physics.Physics
plane Plane
player hyades.entity.Character

Public Methods

Method Description
Add ( Entity entity ) : void
Draw2dEntities ( GraphicsDevice device, Camera camera ) : void
Draw3dEntities ( GraphicsDevice device, Camera camera ) : void
DrawBubbleReflections ( GraphicsDevice device, Camera camera ) : void
GetEntityAt ( Microsoft.Xna.Framework.Ray ray, float depth ) : Entity
Level ( ) : System
Load ( ) : void
Remove ( Entity entity ) : void
Save ( ) : void
Update ( double elapsed ) : void

Private Methods

Method Description
FindBubble ( Body body ) : Entity
FindEnemy ( Body body ) : Entity
RayIntersectsModel ( Microsoft.Xna.Framework.Ray ray, Model model, Matrix worldTransform, Matrix absoluteBoneTransforms ) : bool
TransformBoundingSphere ( BoundingSphere sphere, Matrix transform ) : BoundingSphere
TryMerge ( Entity entity ) : bool
Warm ( GraphicsDevice device ) : void
collision ( Body body_a, Body body_b, CollisionInfo info ) : void
penetration ( Body body_a, Body body_b ) : void

Method Details

Add() public method

public Add ( Entity entity ) : void
entity Entity
return void

Draw2dEntities() public method

public Draw2dEntities ( GraphicsDevice device, Camera camera ) : void
device GraphicsDevice
camera Camera
return void

Draw3dEntities() public method

public Draw3dEntities ( GraphicsDevice device, Camera camera ) : void
device GraphicsDevice
camera Camera
return void

DrawBubbleReflections() public method

public DrawBubbleReflections ( GraphicsDevice device, Camera camera ) : void
device GraphicsDevice
camera Camera
return void

GetEntityAt() public method

public GetEntityAt ( Microsoft.Xna.Framework.Ray ray, float depth ) : Entity
ray Microsoft.Xna.Framework.Ray
depth float
return Entity

Level() public method

public Level ( ) : System
return System

Load() public method

public Load ( ) : void
return void

Remove() public method

public Remove ( Entity entity ) : void
entity Entity
return void

Save() public method

public Save ( ) : void
return void

Update() public method

public Update ( double elapsed ) : void
elapsed double
return void

Property Details

entities public_oe property

public List entities
return List

hint_logic public_oe property

public HintBubblesLogic,hyades.graphics.particle hint_logic
return hyades.graphics.particle.HintBubblesLogic

id public_oe property

public int id
return int

is_debug_visible public_oe property

public bool is_debug_visible
return bool

name public_oe property

public string name
return string

physics public_oe property

public Physics,hyades.physics physics
return hyades.physics.Physics

plane public_oe property

public Plane plane
return Plane

player public_oe property

public Character,hyades.entity player
return hyades.entity.Character