2018-04-23 16:08:16 +02:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
using Assets.Scripts.Entities.Attack;
|
|
|
|
|
|
2018-04-23 16:44:02 +02:00
|
|
|
|
namespace Assets.Scripts.Entities
|
2018-04-23 16:08:16 +02:00
|
|
|
|
{
|
2018-04-23 16:44:02 +02:00
|
|
|
|
class Spider : Enemy
|
2018-04-23 16:08:16 +02:00
|
|
|
|
{
|
2018-04-23 16:44:02 +02:00
|
|
|
|
public Spider() : base(45)
|
|
|
|
|
{
|
|
|
|
|
|
2018-04-23 16:08:16 +02:00
|
|
|
|
}
|
|
|
|
|
|
2018-04-23 16:44:02 +02:00
|
|
|
|
private void Start()
|
2018-04-23 16:08:16 +02:00
|
|
|
|
{
|
|
|
|
|
SetAttack(new SingleShot(this.gameObject));
|
|
|
|
|
}
|
|
|
|
|
}
|
2018-04-23 16:44:02 +02:00
|
|
|
|
}
|