Giter Club home page Giter Club logo

Comments (4)

AKryukov92 avatar AKryukov92 commented on May 14, 2024

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.

LordStephen77 avatar LordStephen77 commented on May 14, 2024

@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.

AKryukov92 avatar AKryukov92 commented on May 14, 2024

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.

LordStephen77 avatar LordStephen77 commented on May 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.