Skip to content

Commit

Permalink
Reestructuración Lógica de Ejecución (#8)
Browse files Browse the repository at this point in the history
Renombro Motor por Graphics, ya que el paquete "com.paco.game" de "core" solo se puede encargar de la carga y renderización de los gráficos, la funcionalidad la añadiremos aparte.

Co-authored-by: Mario Gabriel Núñez Alcázar de Velasco <[email protected]>
  • Loading branch information
MarioGabrielNuez and MarioGabrielNuez authored Mar 23, 2022
1 parent 442832a commit aefdc99
Show file tree
Hide file tree
Showing 15 changed files with 610 additions and 35 deletions.
574 changes: 574 additions & 0 deletions .metadata/.log

Large diffs are not rendered by default.

Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<section name="org.eclipse.debug.ui.LAUNCH_CONFIGURATIONS_DIALOG_SECTION">
<item key="org.eclipse.debug.ui.DIALOG_SASH_WEIGHTS_1" value="237"/>
<item key="org.eclipse.debug.ui.DIALOG_SASH_WEIGHTS_2" value="762"/>
<item key="org.eclipse.debug.ui.EXPANDED_NODES" value=", org.eclipse.buildship.core.launch.runconfiguration, org.eclipse.jdt.launching.localJavaApplication, "/>
<item key="org.eclipse.debug.ui.EXPANDED_NODES" value=", org.eclipse.jdt.launching.localJavaApplication, org.eclipse.buildship.core.launch.runconfiguration, "/>
<item key="DIALOG_WIDTH" value="988"/>
<item key="DIALOG_HEIGHT" value="702"/>
<item key="DIALOG_FONT_NAME" value="1|Segoe UI|9.0|0|WINDOWS|1|-15|0|0|0|400|0|0|0|1|0|0|0|0|Segoe UI"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<launchGroup id="org.eclipse.debug.ui.launchGroup.debug">
<mruHistory>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;New_configuration&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;DesktopLauncher&quot;/&gt;&#13;&#10;"/>
</mruHistory>
<favorites/>
</launchGroup>
Expand All @@ -14,7 +13,6 @@
<launchGroup id="org.eclipse.eclemma.ui.launchGroup.coverage">
<mruHistory>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;New_configuration&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;DesktopLauncher&quot;/&gt;&#13;&#10;"/>
</mruHistory>
<favorites/>
</launchGroup>
Expand All @@ -24,13 +22,8 @@
</launchGroup>
<launchGroup id="org.eclipse.debug.ui.launchGroup.run">
<mruHistory>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;Game - test&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;Game - check&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;Game - clean&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;Game - build&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;Game - (default tasks)&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;New_configuration&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;DesktopLauncher&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;Game - (default tasks)&quot;/&gt;&#13;&#10;"/>
</mruHistory>
<favorites/>
</launchGroup>
Expand Down
31 changes: 14 additions & 17 deletions .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi

Large diffs are not rendered by default.

Binary file modified .metadata/.plugins/org.eclipse.jdt.core/1865797976.index
Binary file not shown.
Binary file modified .metadata/.plugins/org.eclipse.jdt.core/externalFilesCache
Binary file not shown.
Binary file modified .metadata/.plugins/org.eclipse.jdt.core/externalLibsTimeStamps
Binary file not shown.
9 changes: 4 additions & 5 deletions .metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ INDEX VERSION 1.131+C:\Users\mario\Documents\GitHub\MarioGabIFP\Super_Paco_Bros\
3995027108.index
1973561317.index
3885786831.index
3446081204.index
193490017.index
1865797976.index
3990670468.index
3446081204.index
3307210469.index
2584870405.index
3990670468.index
1865797976.index
2071674118.index
2881960682.index
1265598562.index
Expand All @@ -22,10 +22,9 @@ INDEX VERSION 1.131+C:\Users\mario\Documents\GitHub\MarioGabIFP\Super_Paco_Bros\
240943240.index
2251499996.index
2574099473.index
1642175237.index
4153573058.index
3103961500.index
3625172027.index
4153573058.index
2216734264.index
2048703835.index
3273598559.index
Expand Down
11 changes: 11 additions & 0 deletions .metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,15 @@
</section>
<section name="JavaElementSearchActions">
</section>
<section name="RefactoringWizard.preview">
<item key="width" value="630"/>
<item key="height" value="400"/>
</section>
<section name="org.eclipse.ltk.ui.refactoring.settings">
<item key="updateSimilarElements" value="false"/>
<item key="updateSimilarElementsMatchStrategy" value="1"/>
<item key="updateTextualMatches" value="true"/>
<item key="updateQualifiedNames" value="true"/>
<item key="patterns" value="*"/>
</section>
</section>
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
2022-03-22 11:46:35,341 [Worker-3: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
2022-03-22 11:54:49,371 [Worker-5: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
2022-03-22 12:02:07,074 [Worker-6: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
2022-03-23 06:36:51,812 [Worker-6: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#Cached timestamps
#Tue Mar 22 12:07:57 CET 2022
#Wed Mar 23 06:42:39 CET 2022
2 changes: 1 addition & 1 deletion .metadata/version.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#Tue Mar 22 12:02:03 CET 2022
#Wed Mar 23 06:36:45 CET 2022
org.eclipse.core.runtime=2
org.eclipse.platform=4.23.0.v20220308-0310
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.utils.ScreenUtils;

public class Motor extends ApplicationAdapter {
public class Graphics extends ApplicationAdapter {
SpriteBatch batch;
Texture img;

Expand Down
2 changes: 1 addition & 1 deletion Game/desktop/src/com/paco/game/DesktopLauncher.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ public static void main (String[] arg) {
Lwjgl3ApplicationConfiguration config = new Lwjgl3ApplicationConfiguration();
config.setFullscreenMode(Lwjgl3ApplicationConfiguration.getDisplayMode());
config.setForegroundFPS(60);
new Lwjgl3Application(new Motor(), config);
new Lwjgl3Application(new Graphics(), config);
}
}

0 comments on commit aefdc99

Please sign in to comment.