Esempio n. 1
0
 public BouncingLight(TestableGameObject obj,
                      Sphere sphere,
                      [Resource("physic/bouncy")] IPhysicMaterial material,
                      ILight light,
                      Random rand) : base(obj)
 {
     this.light = light;
     this.rand  = rand;
     sphere.collider.material = material;
     light.intensity          = 2.0f;
     light.range = 15;
 }
Esempio n. 2
0
 public HasNonExistentPhysicMaterial([Resource("does/not/exist")] IPhysicMaterial mat)
 {
 }
Esempio n. 3
0
 public HasPhysicMaterial([Resource("physic/bouncy")] IPhysicMaterial mat)
 {
 }