|
using System;
using Physics.Surfaces;
namespace SilverStunts.Entities
{
public class Surface : Entity
{
public event EventHandler onContact
{
add { (_visual.source as AbstractSurface).Contact += value; }
remove { (_visual.source as AbstractSurface).Contact -= value; }
}
public bool active
{
get { return (_visual.source as ISurface).Active; }
set { (_visual.source as ISurface).Active = value; }
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.