Browse Source

style: 🎨 fix the problem

tags/0.1.0
shangfengh 2 years ago
parent
commit
13ee3dab31
5 changed files with 4 additions and 7 deletions
  1. +2
    -1
      docs/GameRules.md
  2. +0
    -1
      logic/GameClass/GameObj/Bullet/Bullet.Ghost.cs
  3. +2
    -3
      logic/GameClass/GameObj/Map/Map.cs
  4. +0
    -1
      logic/GameEngine/CollisionChecker.cs
  5. +0
    -1
      logic/Gaming/AttackManager.cs

+ 2
- 1
docs/GameRules.md View File

@@ -64,7 +64,7 @@ CellX=\frac{x}{1000},CellY=\frac{y}{1000}
$$

- 格子有对应区域类型:陆地、墙、草地、教室、校门、隐藏校门、门、窗、箱子
- 隐藏校门刷新点的区域类型始终为隐藏校门
- 任何格子的区域类型(PlaceType)始终不变,所有隐藏校门刷新点的区域类型均为隐藏校门

### 人物
- 人物直径为800
@@ -360,6 +360,7 @@ $$

### 信息相关
- Bgm在没有符合条件的情况下,值为0。
- 不能给自己发信息

### 技能
- CD冷却计时是在开始使用技能的瞬间开始的


+ 0
- 1
logic/GameClass/GameObj/Bullet/Bullet.Ghost.cs View File

@@ -1,6 +1,5 @@
using Preparation.Interface;
using Preparation.Utility;
using System;

namespace GameClass.GameObj
{


+ 2
- 3
logic/GameClass/GameObj/Map/Map.cs View File

@@ -3,7 +3,6 @@ using System.Threading;
using Preparation.Interface;
using Preparation.Utility;
using System;
using GameClass.GameObj;

namespace GameClass.GameObj
{
@@ -28,7 +27,7 @@ namespace GameClass.GameObj
try
{
foreach (Character player in GameObjDict[GameObjType.Character])
if (player.PlayerState==PlayerStateType.Addicted)
if (player.PlayerState == PlayerStateType.Addicted)
{
Timer.IsGaming = false;
break;
@@ -38,7 +37,7 @@ namespace GameClass.GameObj
{
GameObjLockDict[GameObjType.Character].ExitReadLock();
}
if (!Timer.IsGaming)
if (Timer.IsGaming)
{
GameObjLockDict[GameObjType.EmergencyExit].EnterWriteLock();
try


+ 0
- 1
logic/GameEngine/CollisionChecker.cs View File

@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Threading;
using Preparation.Interface;
using Preparation.Utility;


+ 0
- 1
logic/Gaming/AttackManager.cs View File

@@ -6,7 +6,6 @@ using Preparation.Utility;
using GameEngine;
using Preparation.Interface;
using Timothy.FrameRateTask;
using System.Numerics;

namespace Gaming
{


Loading…
Cancel
Save