Tagged Questions

3
votes
1answer
126 views

Storing game objects with generic object information

In a simple game object class, you might have something like this: public abstract class GameObject { protected String name; // other properties protected double x, y; public ...
0
votes
0answers
104 views

BinaryTree & Node Class check [closed]

I'm unsure if I am making my binary tree and node class properly or not. Are there better ways for the implementation of my BinaryTree and Node classes? I hope to be able to use these data structures ...
0
votes
0answers
79 views

Argumentation Frameworks - Games approach

Logic-based argumentation theory is an area of Artificial Intelligence that models how to rationally choose (i.e., argue about) what to believe or do when faced with conflicting information. The aim ...
1
vote
2answers
327 views

Isometric game data structure and rendering

I'm starting development of a 2d isometric(tiled, roguelike) game and i'm brainstorming wich kind of data structure i would use to store runtime data like tiles and entities, but i don't want to use ...
5
votes
1answer
348 views

Appropriate level representation / data stucture for a 2D platfrom game?

I'm about to program a copy of Mario in Java. I'm thinking on 2 representations/data structures for the levels but I'm not sure which one should I choose: A 2D integer array. A quadtree to divide ...
3
votes
1answer
254 views

Most efficient way to handle coordinate maps in Java

I have a rectangular tile-based layout. It's your typical Cartesian system. I would like to have a single class that handles two lookup styles Get me the set of players at position X,Y Get me the ...