Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed wave_player 4DGL-uLCD-SE MMA8452
missile_private.h
- Committer:
- lwills
- Date:
- 2020-06-24
- Revision:
- 0:09aa1ecd6c39
- Child:
- 1:5724f2947554
File content as of revision 0:09aa1ecd6c39:
//=================================================================
// The header file defining the missile module
//
// Copyright 2020 Georgia Tech. All rights reserved.
// The materials provided by the instructor in this course are for
// the use of the students currently enrolled in the course.
// Copyrighted course materials may not be further disseminated.
// This file must not be made publicly available anywhere.
//==================================================================
#ifndef MISSILE_PRIVATE_H
#define MISSILE_PRIVATE_H
#include "mbed.h"
#include "globals.h"
#include "missile_public.h"
//==== [private settings] ====
int MISSILE_INTERVAL = 10;
int MISSILE_SPEED = 6;
#define MISSILE_COLOR 0xFF0000
//==== [private type] ====
//==== [private function] ====
void missile_create(void);
void missile_update_position(void);
void missile_draw(MISSILE* missile, int color);
#endif //MISSILE_PRIVATE_H