mirror of
https://github.com/ConjureETS/PillowFight.git
synced 2026-03-24 09:00:58 +00:00
23 lines
307 B
C#
23 lines
307 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
|
|
public class Bed : MonoBehaviour
|
|
{
|
|
private bool _isTaken;
|
|
|
|
public bool IsTaken
|
|
{
|
|
get { return _isTaken; }
|
|
}
|
|
|
|
public void Take()
|
|
{
|
|
_isTaken = true;
|
|
}
|
|
|
|
public void Leave()
|
|
{
|
|
_isTaken = false;
|
|
}
|
|
}
|