28 lines
526 B
C#
28 lines
526 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public class TravelEvent
|
||
|
{
|
||
|
public virtual void PlayerEvent(int eventID, float lengh, float speed,float time)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public class GoEndPointEvent : TravelEvent
|
||
|
{
|
||
|
public override void PlayerEvent(int eventID, float lengh, float speed,float time)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public class SpeedUpEvent : TravelEvent
|
||
|
{
|
||
|
public override void PlayerEvent(int eventID, float lengh, float speed,float time)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
}
|