From 8b37d990eee7ac4e0729450624c834bd223c3047 Mon Sep 17 00:00:00 2001 From: ALoTron <34157676+ALoTron@users.noreply.github.com> Date: Sat, 21 Apr 2018 16:55:39 +0200 Subject: [PATCH] Added Mob-Entity --- Assets/Scripts/Entities/Mob.cs | 16 ++++++++++++++++ Assets/Scripts/Entities/Mob.cs.meta | 11 +++++++++++ Assets/Scripts/Objectives/EntityObjective.cs | 1 - 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 Assets/Scripts/Entities/Mob.cs create mode 100644 Assets/Scripts/Entities/Mob.cs.meta diff --git a/Assets/Scripts/Entities/Mob.cs b/Assets/Scripts/Entities/Mob.cs new file mode 100644 index 0000000..0534e14 --- /dev/null +++ b/Assets/Scripts/Entities/Mob.cs @@ -0,0 +1,16 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class Mob : MonoBehaviour { + + // Use this for initialization + void Start () { + + } + + // Update is called once per frame + void Update () { + + } +} diff --git a/Assets/Scripts/Entities/Mob.cs.meta b/Assets/Scripts/Entities/Mob.cs.meta new file mode 100644 index 0000000..2673846 --- /dev/null +++ b/Assets/Scripts/Entities/Mob.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7c34c451bf3a8c24f823ca94395753ab +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Objectives/EntityObjective.cs b/Assets/Scripts/Objectives/EntityObjective.cs index cb26624..f454c08 100644 --- a/Assets/Scripts/Objectives/EntityObjective.cs +++ b/Assets/Scripts/Objectives/EntityObjective.cs @@ -10,7 +10,6 @@ public class EntityObjective : Objective{ public EntityObjective(Room objectiveCaller, List entityList) : base(objectiveCaller) { this.entityList = entityList; - this.spawnPointList = spawnPointList; spawnPointList = objectiveCaller.GetSpawnpoints (); }