예제 #1
0
 public DigBox(Vector2 position, Vector2 scale, float width, float height, String name = "") : base(
         new DigEngine.GameObject(Main.gameInstance, position, scale, name)
         )
 {
     collider  = new DigEngine.RectangleCollider(gameObject, width, height);
     rigidbody = new DigEngine.Rigidbody(gameObject);
 }