jChicote / jChicote/Asteroid_Visualizer

Create PlanetController and Presentation

Open
#10 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Description
The PlanetController and presentation will manage the invocation of the Gateways so that no game system interacts directly with the APIGateways. Their main responsibility is to bundle the functionality of anything related to planets.

## Acceptance Criteria

## Implementation

**Controller**
- Make this into a class
- The controller points to the horizions-gateway
- Extracts the result from the Presenter

**Add GetMainPlanetsQuery**
- Add PlanetCode

**Add PlanetViewModel**
- EphemerisData
- PhysicalBodyData
- CaptureData

**Presenter**
- Make this also into a class
- Include presenter method for successful result
- Include presenter method for unsuccessful result (later will have this to handle different responses)

**Unit Tests:**
- Not necessary but will be made in future

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.