///<summary>
 /// Constructs a new accessor.
 ///</summary>
 ///<param name="bufferedStates">The owning states system.</param>
 public BufferedStatesAccessor(EntityBufferedStates bufferedStates)
 {
     this.bufferedStates = bufferedStates;
 }
Example #2
0
 ///<summary>
 /// Constructs a new accessor.
 ///</summary>
 ///<param name="bufferedStates">The owning states system.</param>
 public BufferedStatesAccessor(EntityBufferedStates bufferedStates)
 {
     this.bufferedStates = bufferedStates;
 }
Example #3
0
 ///<summary>
 /// Constructs a new accessor.
 ///</summary>
 ///<param name="bufferedStates">Owning entry.</param>
 public InterpolatedStatesAccessor(EntityBufferedStates bufferedStates)
 {
     this.bufferedStates = bufferedStates;
 }
 ///<summary>
 /// Constructs a new accessor.
 ///</summary>
 ///<param name="bufferedStates">Owning entry.</param>
 public InterpolatedStatesAccessor(EntityBufferedStates bufferedStates)
 {
     this.bufferedStates = bufferedStates;
 }
        protected Entity()
        {
            InitializeId();

            BufferedStates = new EntityBufferedStates(this);

            material = new Material();
            materialChangedDelegate = OnMaterialChanged;
            material.MaterialChanged += materialChangedDelegate;

            shapeChangedDelegate = OnShapeChanged;

            activityInformation = new SimulationIslandMember(this);


        }