Skip to content

lab1_projektowy_caly do sprawdzenia - #16

Open
kloszym wants to merge 1 commit into
mainfrom
lab1_projektowy
Open

kloszym wants to merge 1 commit into
mainfrom
lab1_projektowy

Conversation

@kloszym

@kloszym kloszym commented Jan 12, 2025

Copy link
Copy Markdown
Owner

No description provided.

@Zbigniew-Kaleta Zbigniew-Kaleta left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pietruszka + plaster

return animals.keySet().stream()
.sorted(Comparator.comparing(Vector2d::getX)
.thenComparing(Vector2d::getY))
.map(vector -> animals.get(vector))

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A animals::get by nie zadziałało?

@@ -0,0 +1,19 @@
package agh.ics.oop.model;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To nie model

@@ -0,0 +1,35 @@
package agh.ics.oop.model;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To też nie model.

vBox.setAlignment(Pos.CENTER);
}

public VBox getvBox() {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nie ma słowa getv.


Vector2d getPosition();

String getStateOfImage();

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nazwa

private VBox vBox;

public WorldElementBox(WorldElement worldElement) {;
image = new Image(worldElement.getStateOfImage());

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wczytujemy przy każdej okazji?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants