예제 #1
0
        public DoorCell() : base()
        {
            m_IsClosed = new serialization.types.Bool(false);
            m_doorType = new serialization.types.Int32((int)DoorType.Standard);

            InitSerializableMembers(m_IsClosed, m_doorType);
        }
예제 #2
0
        public LogicCell()
        {
            m_cellID     = new serialization.types.Int32(m_cellsCreated++);
            m_isWalkable = new serialization.types.Bool(false);

            InitSerializableMembers(m_cellID, m_isWalkable);
        }
예제 #3
0
                public InputFrame(bool sprinting, Vector2 movement, uint tick)
                {
                    Sprinting = new serialization.types.Bool(sprinting);
                    Movement  = new serialization.types.Vector2(movement);
                    Tick      = new serialization.types.Uint32(tick);

                    InitSerializableMembers(Sprinting, Movement, Tick);
                }
예제 #4
0
                public InputFrame()
                {
                    Sprinting = new serialization.types.Bool(false);
                    Movement  = new serialization.types.Vector2(Vector2.zero);
                    Tick      = new serialization.types.Uint32(0);

                    InitSerializableMembers(Sprinting, Movement, Tick);
                }
예제 #5
0
        public DoorCell(DoorType doorType) : base()
        {
            m_IsClosed = new serialization.types.Bool(false);
            m_doorType = new serialization.types.Int32((int)doorType);

            InitSerializableMembers(m_IsClosed, m_doorType);

            IsWalkable = true;
            DoorType   = doorType;
        }