コード例 #1
0
        public MoveCommand(LogicGameManager logicManager, Block block, Direction direction, int length)
        {
            m_logicGameManager = logicManager;
            m_block            = block;
            m_targetDirection  = direction;
            m_targetLength     = length;

            m_originalPosition  = block.position;
            m_originalDirection = block.direction;
        }
コード例 #2
0
 public EntityTypeIsEntityTypeRule(LogicGameManager logicGameManager, int originalEntityType, int targetEntityType)
 {
     m_logicGameManager   = logicGameManager;
     m_originalEntityType = originalEntityType;
     m_targetEntityType   = targetEntityType;
 }
コード例 #3
0
 public EntityCategoryIsEntityTypeRule(LogicGameManager logicGameManager, EntityCategory originalEntityType, int targetEntityType)
 {
     m_logicGameManager       = logicGameManager;
     m_originalEntityCategory = originalEntityType;
     m_targetEntityType       = targetEntityType;
 }
コード例 #4
0
 public RuleAnalyzer(LogicGameManager logicGameManager)
 {
     m_logicGameManager = logicGameManager;
 }
コード例 #5
0
ファイル: AttirbuteHandler.cs プロジェクト: gfen/babaisyou
 public AttirbuteHandler(LogicGameManager logicGameManager)
 {
     m_logicGameManager = logicGameManager;
 }