Files
MetalGear2D.Unity/Assets/Scripts/DoorOpenedPredicate.cs
T

25 lines
401 B
C#
Raw Normal View History

2025-05-13 05:19:58 +03:00
using UnityEngine;
using System.Collections;
public class DoorOpenedPredicate : Predicate {
public Door door;
protected override bool CheckInternal ()
{
return door.State != DoorState.Closed;
}
protected override bool CheckInternal (object param)
{
return Check ();
}
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}