Пример #1
0
 ///<summary>
 /// Constructs a new accessor.
 ///</summary>
 ///<param name="bufferedStates">The owning states system.</param>
 public BufferedStatesAccessor(EntityBufferedStates bufferedStates)
 {
     this.bufferedStates = bufferedStates;
 }
Пример #2
0
 ///<summary>
 /// Constructs a new accessor.
 ///</summary>
 ///<param name="bufferedStates">The owning states system.</param>
 public BufferedStatesAccessor(EntityBufferedStates bufferedStates)
 {
     this.bufferedStates = bufferedStates;
 }
Пример #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;
 }
Пример #5
0
        protected Entity()
        {
            InitializeId();

            BufferedStates = new EntityBufferedStates(this);

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

            shapeChangedDelegate = OnShapeChanged;

            activityInformation = new SimulationIslandMember(this);


        }