Added Mob-Entity
This commit is contained in:
parent
ccfa55fc04
commit
8b37d990ee
3 changed files with 27 additions and 1 deletions
16
Assets/Scripts/Entities/Mob.cs
Normal file
16
Assets/Scripts/Entities/Mob.cs
Normal file
|
@ -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 () {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
11
Assets/Scripts/Entities/Mob.cs.meta
Normal file
11
Assets/Scripts/Entities/Mob.cs.meta
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7c34c451bf3a8c24f823ca94395753ab
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -10,7 +10,6 @@ public class EntityObjective : Objective{
|
||||||
public EntityObjective(Room objectiveCaller, List<Entity> entityList) : base(objectiveCaller)
|
public EntityObjective(Room objectiveCaller, List<Entity> entityList) : base(objectiveCaller)
|
||||||
{
|
{
|
||||||
this.entityList = entityList;
|
this.entityList = entityList;
|
||||||
this.spawnPointList = spawnPointList;
|
|
||||||
spawnPointList = objectiveCaller.GetSpawnpoints ();
|
spawnPointList = objectiveCaller.GetSpawnpoints ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue