This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(event.type == TouchEvent.TOUCH_DOWN) { | |
int tempCordX = event.x; | |
int tempCordY = event.y; | |
if (event.type == TouchEvent.TOUCH_UP){ | |
if(event.x < tempCordX ) { | |
world.snake.turnLeft(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.badlogic.androidgames.mrnom; | |
public class Meteor { | |
public int x, y; | |
public Meteor(int x, int y) { | |
this.x = x; | |
this.y = y; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.badlogic.androidgames.nautastro; | |
import android.util.Log; | |
public class MeteorShower implements SpaceObjects { | |
float xSpeed[] = new float[400]; | |
float ySpeed[] = new float[400]; | |
int x, y; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE OR REPLACE FUNCTION uspGetPubStatsADA (publishcode text) | |
-- Publisher Code | |
RETURNS text AS | |
$$ | |
DECLARE pubcode text; | |
pubname text; | |
AuthorCount int; | |
TotalbookCount int; | |
Booktitle text; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- ================================================ | |
-- Template generated from Template Explorer using: | |
-- Create Procedure (New Menu).SQL | |
-- | |
-- Use the Specify Values for Template Parameters | |
-- command (Ctrl-Shift-M) to fill in the parameter | |
-- values below. | |
-- | |
-- This block of comments will not be included in | |
-- the definition of the procedure. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- ================================================ | |
-- Template generated from Template Explorer using: | |
-- Create Procedure (New Menu).SQL | |
-- | |
-- Use the Specify Values for Template Parameters | |
-- command (Ctrl-Shift-M) to fill in the parameter | |
-- values below. | |
-- | |
-- This block of comments will not be included in | |
-- the definition of the procedure. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void button4_Click(object sender, EventArgs e) | |
{ | |
while (lbCost.SelectedItems.Count > 0) | |
{ | |
indexList.Add(lbCost.SelectedIndices[0]); | |
lbCost.Items.Remove(lbCost.SelectedItems[0]); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@page contentType="text/html" pageEncoding="UTF-8"%> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>JSP Page</title> | |
</head> | |
<body> | |
<h1>Dynamic Poem</h1> | |
<p>This is the largest paragraph that has ever existed. If you could get on top the iss you would be able to see this paragraph because it's so large. People have said that the wall of china does not compare with this awesome paragraph. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class InputHandler implements InputProcessor { | |
World world; | |
public boolean touchDown; | |
public float x,y; | |
static public InputHandler inputHandler; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$connection = mysql_connect("ocelot.aul.fiu.edu","aandr068","Boton1234"); | |
// Check connection | |
if (!$connection) | |
{ | |
echo "Connection failed: " . mysql_connect_error(); | |
} | |
else | |
{ |
OlderNewer