Exemple #1
0
        // ================================================================ //

        public override void            create(chrBehaviorEnemy behavior, ActionBase.DescBase desc_base = null)
        {
            base.create(behavior, desc_base);

            this.melee_attack = new MeleeAttackAction();
            this.melee_attack.create(this.behavior);
        }
Exemple #2
0
        // ================================================================ //

        public override void            create(chrBehaviorEnemy behavior, ActionBase.DescBase desc_base = null)
        {
            base.create(behavior, desc_base);

            this.melee_attack = new MeleeAttackAction();
            this.melee_attack.create(this.behavior);

            this.model = this.behavior.gameObject.findChildGameObject("model");
        }
Exemple #3
0
        // ================================================================ //

        public override void            create(chrBehaviorEnemy behavior, ActionBase.DescBase desc_base = null)
        {
            base.create(behavior, desc_base);

            this.melee_attack = new MeleeAttackAction();
            this.melee_attack.create(this.behavior);

            this.spring        = new ipModule.Spring();
            this.spring.k      = 300.0f;
            this.spring.reduce = 0.90f;

            // 스폰 → 착지 시에 바운드하지 않게 합니다.
            this.behavior.basic_action.jump.bounciness.y = 0.0f;
        }
Exemple #4
0
	// ================================================================ //

	public override void		create(chrBehaviorEnemy behavior, ActionBase.DescBase desc_base = null)
	{
		base.create(behavior, desc_base);

		this.melee_attack = new MeleeAttackAction();
		this.melee_attack.create(this.behavior);

		this.spring = new ipModule.Spring();
		this.spring.k      = 300.0f;
		this.spring.reduce = 0.90f;

		// 스폰 → 착지 시에 바운드하지 않게 합니다.
		this.behavior.basic_action.jump.bounciness.y = 0.0f;
	}
Exemple #5
0
        // ================================================================ //

        public override void            create(chrBehaviorEnemy behavior, ActionBase.DescBase desc_base = null)
        {
            base.create(behavior, desc_base);

            Desc desc = desc_base as Desc;

            if (desc == null)
            {
                desc = new Desc(this.control.getPosition());
            }

            this.positions[0] = desc.position0;
            this.positions[1] = desc.position1;

            this.melee_attack = new MeleeAttackAction();
            this.melee_attack.create(this.behavior);
        }
Exemple #6
0
	// ================================================================ //

	public override void		create(chrBehaviorEnemy behavior, ActionBase.DescBase desc_base = null)
	{
		base.create(behavior, desc_base);

		this.melee_attack = new MeleeAttackAction();
		this.melee_attack.create(this.behavior);

		this.model = this.behavior.gameObject.findChildGameObject("model");
	}
Exemple #7
0
	// ================================================================ //

	public override void		create(chrBehaviorEnemy behavior, ActionBase.DescBase desc_base = null)
	{
		base.create(behavior, desc_base);

		Desc	desc = desc_base as Desc;

		if(desc == null) {

			desc = new Desc(this.control.getPosition());
		}

		this.positions[0]  = desc.position0;
		this.positions[1]  = desc.position1;

		this.melee_attack = new MeleeAttackAction();
		this.melee_attack.create(this.behavior);
	}
Exemple #8
0
	// ================================================================ //

	public override void		create(chrBehaviorEnemy behavior, ActionBase.DescBase desc_base = null)
	{
		base.create(behavior, desc_base);

		this.melee_attack = new MeleeAttackAction();
		this.melee_attack.create(this.behavior);
	}