Comments (4)
What exactly do you want to customize and unify?
What is common in those two menu?
Why do you want additional package? They already in "com.lordstephen77.dreamblocks.ui".
from dreamblocks.
@AKryukov92 I solved! I just have to put comments on the code to make it more understandable. Now I work on the main menu, I want to put the new buttons I've drawn, and apply the resume button when I press ESC.
from dreamblocks.
I don't think that comments like "Size inventory panel and block cells" add much to code.
First of all, field "tileSize" do not define actual size of whole panel.
Its size is defined by variables "panelHeight" and "panelWidth", which names are very obvious.
Comment "Size inventory panel and block cells" is misleading.
Comment in this line private int tileSize = 25; // Cells size
don't add much either. If existing variable name is not clear for you, then rename variable. Though, I don't think that "cellSize" is much better than "tileSize".
Fragments like
/**
*
* @param g
* @param screenWidth
* @param screenHeight
*/
produce inspection warning
'@param g' tag description is missing
If you add them, then write description too
/**
*
* @param g - instance of GraphicsHandler
* @param screenWidth - current width of screen
* @param screenHeight - current height of screen
*/
from dreamblocks.
I put those comments for my convenience, I want to comment on the rest of the code, I needed to remember everything. My memory is not very good. I also found references to pointer and crafting, I have to work calmly, I put everything flat.
Do not mind these things, I only take small notes to help remind me of what has been done in the past.
from dreamblocks.
Related Issues (20)
- can a launcher be added HOT 7
- Make inventory dialog as separate class HOT 4
- Use inventory visual layout made by @tobyplowy HOT 30
- 2x2 recipe identified with redundant resources in grid HOT 1
- Make Crafting grid as separate class
- Make InventorySlot as separate class HOT 2
- Esc menu HOT 6
- Move property toolPower of Tool to configuration file
- Move property breakType of tile to TileType
- Move speed modifier of tool type to configuration file
- Too large savegame HOT 7
- Mapgen HOT 1
- Inventory layout HOT 62
- Networked multiplayer HOT 5
- Limit interactions with all data classes to limited number of methods
- More fun things in the world
- Achievements HOT 1
- Better textures HOT 27
- Improved controls HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dreamblocks.