You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

31 lines
568 B

using System;
using UnityEngine;
public interface IHasDirtyFlag
{
bool IsDirty { get; set; }
}
public interface IBytesConverter
{
byte[] GetBytes();
void SetBytes(byte[] bytes, int offset = 0);
int GetSize();
}
public interface IOnPropertyChanged
{
event Action OnPropertyChanged;
}
public interface IColliderChecker
{
event Action<Collider2D> OnEnterCollider;
void AddTagFilter(params string[] tags);
void RemoveTagFilter(params string[] tags);
void ClearTagFilter();
void CheckColliding(Action<Collider2D> collided);
}