• R/O
  • SSH

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修訂1bfe64e2b772d1808de8b6a67831f788c871b48c (tree)
時間2024-10-09 06:21:35
作者sebastian_bugiu
Commitersebastian_bugiu

Log Message

PropertiesMappers can be final.

Change Summary

差異

diff -r 5deeea282fa8 -r 1bfe64e2b772 core/src/headwayent/blackholedarksun/HudManager.java
--- a/core/src/headwayent/blackholedarksun/HudManager.java Tue Oct 08 21:52:05 2024 +0200
+++ b/core/src/headwayent/blackholedarksun/HudManager.java Tue Oct 08 23:21:35 2024 +0200
@@ -114,9 +114,9 @@
114114 private static final float SHIP_TORQUE_IMPULSE_FOR_AIM_ASSIST = 700.0f;
115115 public static final int AIM_ASSIST_ROTATION_STEPS = 30;
116116 public static final int MAX_FRIENDLY_SHIPS_TO_CHASE_ENEMY = 3;
117- private ComponentMapper<EntityProperties> entityPropertiesMapper;
118- private ComponentMapper<ShipProperties> shipPropertiesMapper;
119- private ComponentMapper<AIProperties> aIPropertiesMapper;
117+ private final ComponentMapper<EntityProperties> entityPropertiesMapper;
118+ private final ComponentMapper<ShipProperties> shipPropertiesMapper;
119+ private final ComponentMapper<AIProperties> aIPropertiesMapper;
120120 private final ENG_Camera camera;
121121 private ENG_TextAreaOverlayElement cargoCountOverlayElement;
122122 private ENG_TextAreaOverlayElement cargoScanOverlayElement;