Rename enemies

This commit is contained in:
Denis-Cosmin Nutiu 2019-08-08 23:39:31 +03:00
parent 047ca6cc9c
commit d227893699
5 changed files with 15 additions and 2 deletions

View file

@ -111,6 +111,7 @@ GameObject:
- component: {fileID: 1330784298487411849}
- component: {fileID: 3670963333241729696}
- component: {fileID: 7110750718968962680}
- component: {fileID: 430766997717814334}
m_Layer: 14
m_Name: Dumb
m_TagString: Enemy
@ -192,3 +193,15 @@ BoxCollider2D:
serializedVersion: 2
m_Size: {x: 0.9, y: 0.9}
m_EdgeRadius: 0
--- !u!114 &430766997717814334
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7795087027144463245}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1ec64748dfd5f8948996e97a49538538, type: 3}
m_Name:
m_EditorClassIdentifier:

View file

@ -1,6 +1,6 @@
namespace src.Enemy
{
public class BasicCollisionEnemy : EnemyBase
public class CollisionMovementEnemy : EnemyBase
/* Enemy that will change direction only on collision. */
{
protected new void Start()

View file

@ -2,7 +2,7 @@
namespace src.Enemy
{
public class EnemyThatRandomChangeDirection : EnemyBase
public class RandomMovementEnemy : EnemyBase
{
/* Enemy that will move randomly */
protected new void Start()