Пример #1
0
 public HookPoint(Vector2 startingposition, HookPointBodyType bodytype, bool isactive)
 {
     _hookPointBodyType = bodytype;
     IsActive = isactive;
     _startingPosition = startingposition;
     initialPosition = new Vector2(GameConstants.BaseTranslate, startingposition.Y);
     _exitingDirection = new Vector2(.3f, -.05f);
     _incomingDirection = new Vector2(.3f, .24f);
     _incomingScale = .01f;
 }
Пример #2
0
 public HookPointBody(World world, Vector2 position, HookPointBodyType type)
     : base(world, null)
 {
     base.Position = position;
     _hookPointBodyType = type;
 }
Пример #3
0
        public Obstacle(Vector2 startingposition, HookPointBodyType bodytype, bool isactive)
            : base(startingposition, bodytype, isactive)
        {

        }