コード例 #1
0
ファイル: Entity.cs プロジェクト: Noxalus/Danmaku-no-Kyojin
        protected Entity(DnK gameRef)
        {
            GameRef = gameRef;

            CollisionBoxes = new CollisionElements();
            _scale = new Vector2(1f, 1f);
            IsAlive = true;
        }
コード例 #2
0
ファイル: Entity.cs プロジェクト: siudeks/Danmaku-no-Kyojin
        protected Entity(GameRunner gameRef)
        {
            GameRef = gameRef;

            CollisionBoxes = new CollisionElements();
            _scale         = new Vector2(1f, 1f);
            IsAlive        = true;
        }
コード例 #3
0
ファイル: ShipView.cs プロジェクト: siudeks/Danmaku-no-Kyojin
 internal bool Intersects(CollisionElements collisionBoxes)
 {
     return(CollisionBoxes.Intersects(collisionBoxes));
 }